.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px;
    background: #F4F4F4;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 15px;
}

.step-number {
    background: #00c600;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    border-radius: 10px;
    color: white;
}

.step-header h2 {
    margin: 0;
    font-size: 20px;
    color: #000;
    font-weight: 600;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.plan-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    border: 2px solid #ececec;
    transition: all 0.3s ease;
}

.plan-card.selected {
    border: 2px solid blue;
    box-shadow: 0 0 10px rgba(0,0,255,0.2);
}

.plan-card h3 {
    margin: 0 0 10px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.plan-card .price {
    font-size: 2em;
    font-weight: bold;
    color: #000;
    margin-bottom: 3px;
}

.plan-card .price span {
    font-size: 0.5em;
}

.per-month {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.discount {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin: 8px 0;
    font-size: 12px;
}

.discount.green {
    background: #00ff00;
    color: white;
    border: none;
}

.guarantee {
    font-size: 0.8em;
    color: #666;
    margin-top: 10px;
}

.checkout-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.payment-method {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
}

.payment-method.active {
    background: #9292ff;
    color: white;
    border: none;
}

/* Disabled (locked) payment methods */
.payment-method.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0f0f0;
}

.device-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.device-control label {
    color: #333;
    font-size: 14px;
}

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

.counter input {
    width: 35px;
    text-align: center;
    border: 1px solid #ddd;
    padding: 4px;
    border-radius: 4px;
    font-size: 14px;
}

.counter button {
    padding: 3px 8px;
    border: 1px solid #ddd;
    background: #e04e7f;
    cursor: pointer;
    border-radius: 4px;
}

.plan-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.plan-icon {
    font-size: 20px;
    color: #555;
}

.plan-text {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
}

.plan-price {
    font-weight: bold;
    font-size: 1.1em;
    color: #000;
}

.checkout-button {
    width: 100%;
    padding: 12px;
    background: #00ff00;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    margin: 15px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.checkout-button:hover {
    background: #00dd00;
}

.guarantee-text {
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .checkout-box {
        margin: 0 10px;
    }
    
    .plan-card {
        margin: 0 auto;
        max-width: 300px;
    }
}
/* Custom logos for all payment methods */

/* PayPal logo (P) */
.custom-p-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #003087; /* PayPal blue color */
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin-right: 2px;
}

/* Credit Card logo (C) */
.custom-cc-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #2C2E35; /* Dark gray/black */
    color: white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 2px;
    position: relative;
    overflow: hidden;
}

.custom-cc-logo::after {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: #FFFFFF;
    opacity: 0.7;
    top: 6px;
}

/* Cryptocurrency logo (₿) */
.custom-crypto-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #F7931A; /* Bitcoin orange */
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin-right: 2px;
    transform: rotate(12deg);
}

/* Active states */
.payment-method.active .custom-p-logo,
.payment-method.active .custom-cc-logo,
.payment-method.active .custom-crypto-logo {
    background-color: white;
}

.payment-method.active .custom-p-logo {
    color: #9292ff;
}

.payment-method.active .custom-cc-logo {
    color: #2C2E35;
}

.payment-method.active .custom-cc-logo::after {
    background-color: #2C2E35;
    opacity: 0.7;
}

.payment-method.active .custom-crypto-logo {
    color: #F7931A;
}

/* Disabled states */
.payment-method.disabled .custom-p-logo,
.payment-method.disabled .custom-cc-logo,
.payment-method.disabled .custom-crypto-logo {
    background-color: #d0d0d0;
    color: #888888;
    opacity: 0.7;
}

.payment-method.disabled .custom-cc-logo::after {
    background-color: #888888;
    opacity: 0.5;
}