/**
 * FLHIP Subscription Form Styles - Complete Version
 * File: assets/css/subscription-form.css
 */

/* Main container */
.flhip-subscription-container {
    max-width: 600px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.flhip-subscription-container h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* Hide tabs completely - registration form only */
.flhip-subscription-widget .flhip-tabs-nav {
    display: none !important;
}

.flhip-subscription-widget #tab-login {
    display: none !important;
}

.flhip-subscription-widget #tab-register {
    display: block !important;
}

.flhip-subscription-widget .flhip-tab-content {
    border: none;
    padding: 0;
}

/* Add title for registration form */
.flhip-subscription-widget #tab-register:before {
    content: "Create Your Account";
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* Notice styling */
.flhip-subscription-container .woocommerce-error,
.flhip-subscription-container .woocommerce-message,
.flhip-subscription-container .woocommerce-info {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 5px;
    font-size: 15px;
    line-height: 1.5;
}

.flhip-subscription-container .woocommerce-error {
    background-color: #fee;
    border-left: 4px solid #e41c25;
    color: #721c24;
}

.flhip-subscription-container .woocommerce-message {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    color: #2e7d32;
}

.flhip-subscription-container .woocommerce-info {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
}

/* Zones summary */
.flhip-zones-summary {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 35px;
}

.flhip-zones-summary h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #495057;
}

.flhip-zones-summary ul {
    padding-left: 0;
    margin-bottom: 20px;
    list-style: none;
}

.flhip-zones-summary li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #212529;
}

.flhip-zones-summary li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2196F3; /* Changed from green to blue */
    font-weight: bold;
}

/* Discount pricing styles */
.flhip-zones-summary li strike {
    color: #999;
}

.flhip-zones-summary li strong {
    color: #2196F3 !important; /* Blue discount price */
}

.flhip-zones-summary .total-price {
    font-weight: 600;
    font-size: 20px;
    color: #e41c25;
    text-align: right;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.flhip-zones-summary .total-price strike {
    color: #999;
}

.flhip-zones-summary .total-price strong {
    color: #e41c25; /* Keep total in red */
}

/* Discount notice */
.flhip-zones-summary .discount-notice {
    background: #e3f2fd; /* Light blue background */
    border: 1px solid #2196F3; /* Blue border */
    color: #1565c0; /* Blue text */
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* Form styling */
.flhip-details-form {
    background-color: #fff;
}

.flhip-form-row {
    margin-bottom: 25px;
}

.flhip-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.flhip-form-row input[type="text"],
.flhip-form-row input[type="password"],
.flhip-form-row input[type="email"],
.flhip-form-row input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.flhip-form-row input:focus {
    border-color: #e41c25;
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 28, 37, 0.1);
}

.flhip-form-row input.error {
    border-color: #dc3545;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* FLHIP branded submit button */
.flhip-submit-button {
    background-color: #e41c25;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: block;
    width: 100%;
    text-align: center;
}

.flhip-submit-button:hover {
    background-color: #c71017;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 28, 37, 0.3);
}

.flhip-submit-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* User logged in notice */
.user-logged-in-notice {
    padding: 15px 20px;
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    margin-bottom: 25px;
    border-radius: 5px;
}

.user-logged-in-notice p {
    margin: 0;
    color: #1565c0;
}

/* Responsive design */
@media (max-width: 768px) {
    .flhip-subscription-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .flhip-subscription-container h3 {
        font-size: 24px;
    }
}