/* Zoomies Membership Registration Form Styles */

.zoomies-registration-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.zoomies-registration-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

.zoomies-user-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.zoomies-login-notice {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.zoomies-form-section {
    margin-bottom: 40px;
}

.zoomies-form-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.zoomies-form-group {
    margin-bottom: 20px;
}

.zoomies-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.zoomies-form-group input[type="text"],
.zoomies-form-group input[type="email"],
.zoomies-form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.zoomies-form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.zoomies-form-group small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 14px;
}

/* Plans Grid */
.zoomies-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.zoomies-plan-card {
    position: relative;
    display: block;
    padding: 24px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.zoomies-plan-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.zoomies-plan-card.selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.zoomies-plan-card input[type="radio"] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.plan-content h4 {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #111827;
}

.plan-price {
    margin-bottom: 12px;
}

.plan-price .price,
.plan-price .sale-price {
    font-size: 28px;
    font-weight: 700;
    color: #059669;
}

.plan-price .original-price {
    font-size: 18px;
    text-decoration: line-through;
    color: #9ca3af;
    margin-right: 8px;
}

.plan-price .duration {
    font-size: 14px;
    color: #6b7280;
}

.signup-fee {
    font-size: 14px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: #6b7280;
    margin: 12px 0 0 0;
    line-height: 1.5;
}

/* Coupon Section */
.zoomies-coupon-group {
    display: flex;
    gap: 12px;
    max-width: 400px;
}

.zoomies-coupon-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
}

.zoomies-coupon-group .btn-secondary {
    padding: 12px 24px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.zoomies-coupon-group .btn-secondary:hover {
    background: #4b5563;
}

.coupon-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.coupon-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.coupon-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Order Summary */
.zoomies-order-summary {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.zoomies-order-summary h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    border: none;
    padding: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 2px solid #d1d5db;
}

.discount-amount {
    color: #059669;
}

/* Form Actions */
.zoomies-form-actions {
    text-align: center;
}

.btn-primary {
    padding: 16px 48px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.registration-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.registration-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.registration-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.zoomies-registration-error {
    text-align: center;
    padding: 40px;
    color: #991b1b;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .zoomies-registration-container {
        padding: 15px;
    }
    
    .zoomies-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .zoomies-coupon-group {
        flex-direction: column;
        max-width: 100%;
    }
}
