.portal-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.portal-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.portal-hero {
    text-align: center;
    padding: 2rem 0;
}

.portal-hero .portal-icon {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.portal-hero h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
}

.portal-hero p {
    color: #64748b;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.portal-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
}

.portal-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1.5rem;
}

.portal-card .form-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.portal-success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.portal-footer {
    color: #94a3b8;
    font-size: 0.85rem;
}

.portal-invoice-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.portal-invoice-info dt {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.portal-invoice-info dd {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
    .portal-container {
        padding: 1.5rem 1rem 2rem;
    }
    .portal-hero {
        padding: 1rem 0;
    }
    .portal-hero h1 {
        font-size: 1.35rem;
    }
    .portal-hero .portal-icon {
        font-size: 2.25rem;
    }
    .portal-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    .portal-card h5 {
        font-size: 1rem;
    }
    .portal-card .form-control-lg {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }
    #scannerGuide {
        height: 40px;
    }
    #scannerGuide div {
        font-size: 10px;
    }
}
