body.compra-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at 10% 15%, rgba(34, 197, 94, 0.12), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(248, 113, 113, 0.14), transparent 45%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f9 100%);
    overflow-y: auto;
    overflow-x: hidden;
}

body.compra-page .login-wrapper {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 100vh;
    height: auto;
    align-items: flex-start;
    overflow: visible;
    padding: 28px 16px;
}

.page-glow {
    position: fixed;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    filter: blur(24px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.page-glow-left {
    background: #22c55e;
    left: -120px;
    top: -60px;
}

.page-glow-right {
    background: #f43f5e;
    right: -120px;
    top: 90px;
}

.compra-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 34px 30px 28px;
    border-radius: 26px;
    border: 1px solid #dde3ef;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    box-shadow:
        0 30px 60px rgba(15, 23, 42, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
}

.login-header .logo {
    margin-bottom: 16px;
}

.login-header .logo-img {
    width: 95px;
    height: 95px;
    border-radius: 22px;
    object-fit: contain;
    border: 1px solid #f0f3f9;
    box-shadow: 0 15px 35px rgba(226, 63, 63, 0.22);
}

.login-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.15;
    color: #101828;
    letter-spacing: -0.5px;
}

.login-header .subtitle {
    margin-top: 8px;
    margin-bottom: 0;
    color: #667085;
    font-size: 15px;
    font-weight: 500;
}

.pricing-box {
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, #ef4444 0%, #e11d48 55%, #9f1239 100%);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 16px 30px rgba(190, 24, 93, 0.35);
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.original-price {
    font-size: 14px;
    opacity: 0.72;
    text-decoration: line-through;
}

.current-price {
    margin-top: 6px;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
}

.savings-badge {
    margin-top: 8px;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #0f5132;
    background: #dcfce7;
}

.price-period {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.9;
}

.features-box {
    margin-bottom: 16px;
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.features-box h3 {
    margin: 0 0 12px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.4px;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.features-list li {
    position: relative;
    font-size: 14px;
    color: #374151;
    padding-left: 28px;
    line-height: 1.3;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    margin: 0;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.form-input {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    background: #ffffff;
    font-size: 15px;
    color: #111827;
    padding: 0 14px;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15);
}

.form-input::placeholder {
    color: #98a2b3;
}

.form-help {
    margin: 7px 0 0;
    font-size: 12px;
    color: #667085;
}

.form-help.error {
    color: #b42318;
}

.coupon-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.coupon-row .form-input {
    flex: 1;
}

.btn {
    height: 50px;
    border-radius: 12px;
    border: none;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.btn-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444 0%, #e11d48 70%, #be123c 100%);
    box-shadow: 0 14px 24px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #d0d5dd;
}

.support-section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.support-section-alt {
    margin-top: 10px;
    padding-top: 12px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.support-link:hover {
    color: #0f172a;
}

@media (max-width: 992px) {
    .man-image {
        display: none;
    }
}

@media (max-width: 540px) {
    body.compra-page .login-wrapper {
        padding: 16px 12px;
    }

    .compra-container {
        border-radius: 18px;
        padding: 24px 16px 18px;
    }

    .login-header h1 {
        font-size: 22px;
    }

    .current-price {
        font-size: 34px;
    }

    .coupon-row {
        flex-direction: column;
        align-items: stretch;
    }

    .coupon-row .btn-secondary {
        width: 100%;
    }
}
/* ============================================
   SERGINHO JOGA JUNTO - Compra Page Styles
   Tema Claro (igual ao login) v2.9
   ============================================ */

/* Reset para tema claro */
body.compra-page {
    background: #ffffff;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Override do layout fixo do login para nao cortar conteudo na compra */
body.compra-page .login-wrapper {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    overflow: visible;
    padding: 24px 0;
}

body.compra-page .login-container.compra-container {
    margin: 0 auto;
}

.compra-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 40px 20px;
}

/* Container de Compra */
.compra-container {
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    z-index: 10;
}

/* Header */
.compra-header {
    text-align: center;
    margin-bottom: 32px;
}

.compra-header .logo {
    margin-bottom: 20px;
}

.compra-header .logo-img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.3);
}

.compra-header h1 {
    font-size: 26px;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.compra-header .subtitle {
    color: #6c757d;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 0;
}

/* Pricing Box */
.pricing-box {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.3);
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.original-price {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.current-price {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1;
}

.current-price small {
    font-size: 18px;
    font-weight: 600;
}

.price-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.savings-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(40, 167, 69, 0.8);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Features Box */
.features-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #e9ecef;
}

.features-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 16px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    color: #495057;
    margin-bottom: 12px;
    line-height: 1.4;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Form Section */
.compra-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #dc3545;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-input::placeholder {
    color: #adb5bd;
}

.form-help {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    height: 54px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #1a1a2e;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Garantia Section */
.garantia-section {
    text-align: center;
    padding: 20px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(40, 167, 69, 0.2);
    margin-bottom: 24px;
}

.garantia-section svg {
    margin-bottom: 8px;
}

.garantia-section p {
    font-size: 14px;
    color: #28a745;
    font-weight: 600;
    margin: 0;
}

.garantia-section small {
    font-size: 12px;
    color: #6c757d;
    display: block;
    margin-top: 4px;
}

/* Support Section */
.support-section {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e9ecef;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #0088cc;
}

.support-link svg {
    transition: transform 0.3s ease;
}

.support-link:hover svg {
    transform: translateX(3px);
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #dc3545;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-3px);
}

/* Alert */
#alerta {
    margin-bottom: 20px;
}

/* Ajustes para caber tudo na tela sem scroll */
.compra-container .login-header {
    margin-bottom: 20px;
}

.compra-container .login-header .logo-img {
    width: 80px;
    height: 80px;
}

.compra-container .login-header h1 {
    font-size: 22px;
    margin-bottom: 4px;
}

.compra-container .pricing-box {
    padding: 16px;
    margin-bottom: 16px;
}

.compra-container .offer-badge {
    font-size: 10px;
    padding: 6px 12px;
    margin-bottom: 10px;
}

.compra-container .original-price {
    font-size: 13px;
    margin-bottom: 2px;
}

.compra-container .current-price {
    font-size: 32px;
    margin-bottom: 6px;
}

.compra-container .savings-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 4px;
}

.compra-container .price-period {
    font-size: 12px;
}

.compra-container .features-box {
    padding: 16px;
    margin-bottom: 16px;
}

.compra-container .features-box h3 {
    font-size: 13px;
    margin-bottom: 10px;
}

.compra-container .features-list li {
    font-size: 12px;
    margin-bottom: 6px;
    padding-left: 24px;
}

.compra-container .features-list li::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
}

.compra-container .form-group {
    margin-bottom: 12px;
}

.compra-container .form-label {
    font-size: 12px;
    margin-bottom: 4px;
}

.compra-container .form-input {
    height: 44px;
    font-size: 14px;
}

.compra-container .form-help {
    font-size: 11px;
    margin-top: 4px;
}

.compra-container .btn {
    height: 46px;
    font-size: 13px;
}

.compra-container .support-section {
    margin-top: 16px;
    padding-top: 16px;
}

.compra-container .support-link {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .man-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .compra-container {
        padding: 30px 24px;
    }

    .compra-header h1 {
        font-size: 22px;
    }

    .compra-header .logo-img {
        width: 80px;
        height: 80px;
    }

    .current-price {
        font-size: 36px;
    }

    .form-input {
        height: 50px;
        font-size: 15px;
    }

    .btn {
        height: 50px;
    }

    .pricing-box {
        padding: 20px;
    }

    .features-box {
        padding: 20px;
    }
}
