/* ============================================
   GR Certificados - Main Stylesheet
   ============================================ */

/* Design Tokens */
:root {
    --green: #079447;
    --green-dark: #046b35;
    --green-light: #eaf8f0;
    --graphite: #1f2429;
    --text: #3d4650;
    --muted: #6f7982;
    --line: #e8ecef;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--green-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--graphite);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn-dark {
    background: var(--graphite);
    color: var(--white);
}

.btn-dark:hover {
    background: #2a3038;
    color: var(--white);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1fb855;
    color: var(--white);
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--green-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: all var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--green);
}

.nav-cta {
    margin-left: 8px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--graphite);
    transition: all var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    font-size: 1.0625rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--green-light) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(7, 148, 71, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    color: var(--green);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--green-light) 0%, rgba(7, 148, 71, 0.08) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-card-1 {
    top: 10%;
    left: -10%;
    animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 15%;
    right: -5%;
    animation: float 6s ease-in-out infinite 2s;
}

.hero-card-3 {
    bottom: 5%;
    left: 5%;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   CERTIFICADOS / PREÇOS
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 880px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green);
}

.pricing-card.featured {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 24px;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text);
    font-size: 0.9375rem;
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--green);
    flex-shrink: 0;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--green-light), var(--green), var(--green-light));
    z-index: 0;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--green);
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.step-item h4 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.9375rem;
    color: var(--muted);
}

/* ============================================
   VANTAGENS
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}

.advantage-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--green);
}

.advantage-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ============================================
   EMPRESAS
   ============================================ */
.business-section {
    background: var(--graphite);
    color: var(--white);
}

.business-section .section-title h2 {
    color: var(--white);
}

.business-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.business-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.business-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--graphite);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--green);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--graphite);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-col h5 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-bottom a {
    color: var(--green);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   FORMULÁRIOS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--graphite);
    margin-bottom: 6px;
}

.form-group label .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(7, 148, 71, 0.1);
}

.form-control::placeholder {
    color: var(--muted);
}

.form-control.error {
    border-color: #dc3545;
}

.form-error {
    font-size: 0.8125rem;
    color: #dc3545;
    margin-top: 4px;
    display: none;
}

.form-control.error + .form-error {
    display: block;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f7982' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--green);
    flex-shrink: 0;
}

.form-check label {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

.form-check label a {
    color: var(--green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Honeypot */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================
   TIMELINE (Acompanhamento)
   ============================================ */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--line);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--line);
}

.timeline-item.completed .timeline-dot {
    background: var(--green);
    box-shadow: 0 0 0 2px var(--green);
}

.timeline-item.active .timeline-dot {
    background: var(--green);
    box-shadow: 0 0 0 2px var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 2px var(--green), 0 0 0 6px rgba(7, 148, 71, 0.2); }
    100% { box-shadow: 0 0 0 2px var(--green), 0 0 0 10px rgba(7, 148, 71, 0); }
}

.timeline-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ============================================
   TOAST / NOTIFICATIONS
   ============================================ */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--graphite);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideUp 0.3s ease;
    max-width: 400px;
}

.toast.success {
    border-left: 4px solid var(--green);
}

.toast.error {
    border-left: 4px solid #dc3545;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: all var(--transition);
    color: var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal h3 {
    margin-bottom: 20px;
}

.modal-close {
    float: right;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
}

.modal-close:hover {
    color: var(--graphite);
}

/* ============================================
   PAGE: PEDIDO / PAGAMENTO / ACOMPANHAMENTO
   ============================================ */
.page-header {
    padding: 120px 0 60px;
    background: var(--green-light);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-header p {
    color: var(--muted);
    font-size: 1.0625rem;
}

.page-content {
    padding: 60px 0 100px;
}

.form-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* PIX Section */
.pix-section {
    text-align: center;
}

.pix-qr {
    width: 256px;
    height: 256px;
    margin: 24px auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    background: var(--white);
}

.pix-code {
    background: var(--graphite);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    word-break: break-all;
    margin: 20px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative;
}

.pix-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
    text-align: left;
}

.pix-info-item {
    background: var(--green-light);
    padding: 16px;
    border-radius: 10px;
}

.pix-info-item label {
    font-size: 0.8125rem;
    color: var(--muted);
    display: block;
    margin-bottom: 4px;
}

.pix-info-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--graphite);
}

/* ============================================
   ADMIN
   ============================================ */
.admin-login {
    max-width: 400px;
    margin: 0 auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    background: var(--graphite);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: var(--green-light);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-1 { background: #fef3c7; color: #92400e; }
.status-2 { background: #dbeafe; color: #1e40af; }
.status-3 { background: #d1fae5; color: #065f46; }
.status-4 { background: #fef3c7; color: #92400e; }
.status-5 { background: #e0e7ff; color: #3730a3; }
.status-6 { background: #d1fae5; color: #065f46; }
.status-7 { background: #fee2e2; color: #991b1b; }

.admin-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.admin-filters .form-group {
    margin-bottom: 0;
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8125rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Admin Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-card h4 {
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--graphite);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-12 { gap: 12px; }

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--line);
    border-top-color: var(--green);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
