/*
Theme Name: RN Carta MZ
Theme URI: https://rn.co.mz
Author: Chipindo Tech & Ads
Description: Tema Headless/PWA para Web-to-APK do RN Carta MZ.
Version: 8.0
*/

:root {
    --rn-blue: #0B1D3A;
    --rn-yellow: #FFCC00;
    --bg-color: #F4F7F6;
    --card-bg: #FFFFFF;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --online-green: #10B981;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; -webkit-tap-highlight-color: transparent; }
body { background-color: var(--bg-color); color: var(--text-dark); padding: 20px; padding-bottom: 100px; }

header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-top: 10px; }
.header-icons { display: flex; gap: 20px; color: var(--rn-blue); font-size: 1.2rem; }
.btn-profile { background-color: rgba(11, 29, 58, 0.08); color: var(--rn-blue); padding: 8px 16px; border-radius: 20px; font-weight: 600; font-size: 0.9rem; text-decoration: none; }

.progress-card { background: linear-gradient(135deg, var(--rn-blue), #1A365D); border-radius: 24px; padding: 25px; color: white; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 20px rgba(11, 29, 58, 0.2); margin-bottom: 30px; position: relative; overflow: hidden; }
.progress-info h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.7); margin-bottom: 5px; }
.progress-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
.progress-info p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); max-width: 180px; margin-bottom: 15px; }
.btn-progress { color: var(--rn-yellow); text-decoration: none; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.circle-wrap { position: relative; width: 90px; height: 90px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.circle-wrap::before { content: ""; position: absolute; width: 76px; height: 76px; background-color: var(--rn-blue); border-radius: 50%; }
.circle-value { position: relative; font-size: 1.2rem; font-weight: 700; color: var(--rn-yellow); }
.status-badge { position: absolute; bottom: -10px; right: 0; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 12px; font-size: 0.7rem; backdrop-filter: blur(4px); }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.online-status { background-color: rgba(16, 185, 129, 0.15); color: var(--online-green); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; background-color: var(--online-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

.grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.card { background-color: var(--card-bg); border-radius: 20px; padding: 20px 15px; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); transition: transform 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.card:active { transform: scale(0.96); }
.icon-wrapper { width: 50px; height: 50px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; margin-bottom: 12px; }
.card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
.card p { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }

.bg-blue-light { background: rgba(59, 130, 246, 0.1); color: #3B82F6; }
.bg-green-light { background: rgba(16, 185, 129, 0.1); color: #10B981; }
.bg-yellow-light { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.bg-red-light { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.bg-purple-light { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.bg-pink-light { background: rgba(236, 72, 153, 0.1); color: #EC4899; }
.bg-teal-light { background: rgba(20, 184, 166, 0.1); color: #14B8A6; }
.bg-gray-light { background: rgba(107, 114, 128, 0.1); color: #6B7280; }

.footer-info { text-align: center; margin-top: 30px; font-size: 0.75rem; color: var(--text-muted); }
.fab { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: #0084FF; color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; box-shadow: 0 8px 15px rgba(0, 132, 255, 0.3); z-index: 1000; }
.fab-badge { position: absolute; top: 0; right: 0; width: 14px; height: 14px; background-color: #EF4444; border-radius: 50%; border: 2px solid white; }