
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-right: 20px;
}

.company-info h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.company-info p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Payment Plans Section */
.payment-plans {

    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.plans-title {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.plan-selector {

    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.plan-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.plan-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.plan-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea10, #764ba210);
}

.plan-option.selected::after {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.plan-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 5px;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.plan-description {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.4;
}

/* Payment Form Section */
.payment-form {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.form-title {
    color: #2c3e50;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.secure-badge {
    background: #28a745;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 500;
}

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

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

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-group.optional label::after {
    content: " (Optional)";
    color: #7f8c8d;
    font-weight: normal;
    font-size: 12px;
}

#card-field {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    min-height: 50px;
    transition: border-color 0.3s ease;
}

#card-field:focus-within {
    border-color: #667eea;
}

.pay-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pay-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.security-info {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.security-info small {
    color: #28a745;
    font-size: 12px;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: #bdc3c7;
    text-align: center;
    padding: 30px 40px;
    border-radius: 0 0 15px 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 12px;
}

/* Status Messages */
.status-message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.loading {
    text-align: center;
    color: #667eea;
    font-weight: 600;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 0 10px;
    }

    .main-content {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .header {
        padding: 20px;
    }

    .footer {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
