/* HeliNY Tours Plugin Styles */

.heliny-register-form,
.heliny-login-form,
.heliny-agent-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/* Error and Success Message Styles */
.heliny-register-form .error,
.heliny-login-form .error,
.heliny-travel-agents-form .error,
.heliny-combined-auth-form .error {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    margin-bottom: 20px !important;
    border: 1px solid #f5c6cb !important;
    font-weight: 500;
    text-align: left;
}

.heliny-register-form .success,
.heliny-login-form .success,
.heliny-travel-agents-form .success,
.heliny-combined-auth-form .success {
    background: #d4edda !important;
    color: #155724 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    margin-bottom: 20px !important;
    border: 1px solid #c3e6cb !important;
    font-weight: 500;
    text-align: left;
}

/* Travel Agents Form Styles */
.heliny-travel-agents-form {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    font-family: Arial, sans-serif;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.red-banner {
    background: #d32f2f;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.form-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
    letter-spacing: 2px;
}

.form-description {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.info-link {
    color: #666;
    text-decoration: underline;
}

.travel-agents-form {
    padding: 0 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-field {
    flex: 1;
    min-width: 200px;
}

.form-field.full-width {
    flex: 100%;
}

.form-field label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: normal;
}

.form-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}

.form-field input::placeholder {
    color: #999;
    font-style: italic;
}

.form-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.terms-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.terms-text a {
    color: #666;
    text-decoration: underline;
}

.get-widget-btn {
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.get-widget-btn:hover {
    background: #1a252f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-field {
        min-width: 100%;
    }
    
    .form-header h1 {
        font-size: 36px;
    }
    
    .heliny-travel-agents-form {
        margin: 10px;
    }
}

/* Booking Widget Styles */
.heliny-booking-widget {
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

.widget-header h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
}

.agency-name {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.widget-content {
    padding: 20px;
}

.widget-content > p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.tour-options {
    margin-bottom: 20px;
}

.tour-option {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-option h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.tour-option .price {
    margin: 0;
    color: #d32f2f;
    font-weight: bold;
    font-size: 14px;
}

.book-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.book-btn:hover {
    background: #b71c1c;
}

.widget-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

.powered-by, .agent-info {
    margin: 5px 0;
    font-size: 12px;
    color: #999;
}

/* Combined Auth Form Styles */
.heliny-combined-auth-form {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    padding: 40px;
    font-family: Arial, sans-serif;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.auth-description {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.login-section, .register-section {
    margin-bottom: 30px;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.auth-form .form-field {
    margin-bottom: 20px;
}

.auth-form .form-field label {
    display: block;
    color: #666;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: normal;
}

.auth-form .form-field input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fff;
}

.auth-form .form-field input:focus {
    border-color: #2c3e50;
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.login-btn, .register-btn {
    background: #2c3e50;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

.login-btn:hover, .register-btn:hover {
    background: #1a252f;
}

.register-btn {
    width: 100%;
}

.forgot-password {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

.forgot-password:hover {
    color: #333;
}

.auth-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.auth-divider span {
    background: #fff;
    padding: 0 20px;
    color: #666;
    font-size: 18px;
    font-weight: bold;
    position: relative;
}

.terms-section {
    margin: 20px 0;
    text-align: center;
}

.terms-section p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.terms-section a {
    color: #666;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .heliny-combined-auth-form {
        margin: 10px;
        padding: 20px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .login-btn {
        width: 100%;
    }
}

.heliny-register-form h3,
.heliny-login-form h3 {
    margin-top: 0;
    color: #333;
}

.heliny-register-form label,
.heliny-login-form label,
.heliny-agent-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    text-align: left;
}

.heliny-register-form input,
.heliny-login-form input,
.heliny-agent-form input,
.heliny-agent-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.heliny-register-form button,
.heliny-login-form button,
.heliny-agent-form button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.heliny-register-form button:hover,
.heliny-login-form button:hover,
.heliny-agent-form button:hover {
    background: #005a87;
}

.heliny-register-form .error,
.heliny-login-form .error {
    background: #ffebe8;
    border: 1px solid #c00;
    color: #c00;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.heliny-register-form .success,
.heliny-login-form .success {
    background: #e8f5e8;
    border: 1px solid #4f8a10;
    color: #4f8a10;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.heliny-register-form .notice,
.heliny-login-form .notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.heliny-register-form p,
.heliny-login-form p,
.heliny-agent-form p {
    margin-bottom: 15px;
    text-align: left;
}

.heliny-register-form input[type="checkbox"],
.heliny-login-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* Center the cross-navigation links */
.heliny-register-form p[style*="text-align: center"],
.heliny-login-form p[style*="text-align: center"] {
    text-align: center !important;
}

/* Style the form titles */
.heliny-register-form h3,
.heliny-login-form h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Success Page Styles */
.heliny-success-page {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    font-family: Arial, sans-serif;
    padding: 0;
}

.success-header {
    text-align: center;
    margin-bottom: 30px;
}

.travel-agents-title {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.submission-confirmation {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.submission-confirmation h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
}

.submission-confirmation p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
}

.additional-info-section {
    padding: 0 20px;
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
}

.info-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.info-header .info-link {
    color: #666;
    text-decoration: underline;
}

.additional-info-form {
    max-width: 600px;
    margin: 0 auto;
}

.additional-info-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.additional-info-form .form-field {
    flex: 1;
    min-width: 200px;
}

.additional-info-form .form-field label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: normal;
}

.additional-info-form .form-field input,
.additional-info-form .form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    font-family: Arial, sans-serif;
}

.additional-info-form .form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.additional-info-form .form-field input::placeholder {
    color: #999;
    font-style: italic;
}

.form-actions-center {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.submit-btn {
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #1a252f;
}

/* Responsive Design for Success Page */
@media (max-width: 768px) {
    .travel-agents-title {
        font-size: 36px;
    }
    
    .additional-info-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .additional-info-form .form-field {
        min-width: 100%;
    }
    
    .submission-confirmation {
        padding: 20px;
        margin: 10px;
    }
    
    .additional-info-section {
        padding: 0 10px;
    }
}
