/* =====================================
   RevBoost Checkout Page Styles
   Scoped under .rb-co-wrapper
===================================== */


.rb-co-wrapper {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* start from top */
    align-items: center; 
   
    padding: 60px 20px;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.rb-co-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
	border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    padding: 40px;
    box-sizing: border-box;
	

}

.rb-co-header {
    text-align: center;
    margin-bottom: 30px;
}

.rb-co-title {
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.3px;
}

.rb-co-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.rb-co-plan-box {
    border: 1px solid #e5e7eb;
    border-left: 4px solid #2563eb;
    background: #f9fafb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 5px;
}

.rb-co-plan-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.rb-co-plan-row:last-child {
    margin-bottom: 0;
}

.rb-co-plan-label {
    color: #6b7280;
}

.rb-co-plan-value {
    font-weight: 500;
    color: #111827;
}

.rb-co-price-row {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
     align-items:flex-start;
}


.rb-co-fee-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
	margin-bottom: 30px;
	text-align: right;
}


.rb-co-form {
    margin-top: 10px;
}

.rb-co-field {
    margin-bottom: 18px;
}

.rb-co-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #374151;
}

.rb-co-field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    box-sizing: border-box;
    transition: border 0.2s ease;
}

.rb-co-field input:focus {
    border-color: #2563eb;
    outline: none;
}

.rb-co-phone-group {
    display: flex;
    align-items: center;
}

.rb-co-country-code-input {
    flex: 0 0 65px;   /* fixed small width */
    padding: 10px 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px 0 0 8px !important;
    background: #f3f4f6;
    font-size: 14px;
    text-align: center;
	margin-right: 5px;
}

.rb-co-phone-group input[type="tel"] {
    flex: 1;          /* take remaining space */
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
   
}


.rb-co-btn {
    width: 100%;
    padding: 13px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.rb-co-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}


.rb-co-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.rb-co-secure-note {
    margin-top: 12px;
    font-size: 12px;
    text-align: center;
    color: #6b7280;
}

.rb-co-price{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:4px;

    font-size:22px;
    font-weight:700;
    color:#2563eb;
}

.rb-co-price-top{
    display:flex;
    gap:6px;
    align-items:center;
}

.rb-co-old-price{
    text-decoration:line-through;
    color:#888;
    font-size:14px;
}

.rb-co-final-price{
    font-size:26px;
    font-weight:700;
}

.rb-co-discount-badge{
    background:#e8f8ef;
    color:#0a7a4b;
    padding:3px 8px;
    font-size:12px;
    border-radius:5px;
    font-weight:500;
}



@media (max-width: 768px) {
    .rb-co-wrapper {
        padding: 30px 15px;
        min-height: auto;
    }

    .rb-co-card {
        width: 95%;
        padding: 25px;
    }

    .rb-co-plan-box {
        padding: 15px;
    }

    .rb-co-title {
        font-size: 22px;
    }

    .rb-co-subtitle {
        font-size: 13px;
    }

    .rb-co-price {
        font-size: 20px;
        align-items:flex-start;
    }
    

    .rb-co-btn {
        padding: 12px;
        font-size: 14px;
    }
}