/**
 * Eventswow Core - Registration Form Styles
 * Version: 1.0.0
 */

/* Registration Container */
.ew-registration-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

.ew-registration-form-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.ew-registration-form-wrapper h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 32px;
    text-align: center;
}

.ew-registration-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Error Messages */
.ew-error-messages {
    background: #fff0f0;
    border-left: 4px solid #dc3232;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.ew-error-messages ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.ew-error-messages li {
    color: #dc3232;
    margin-bottom: 8px;
}

/* Form Sections */
.ew-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.ew-form-section:last-of-type {
    border-bottom: none;
}

.ew-form-section h3 {
    margin: 0 0 20px 0;
    color: #667eea;
    font-size: 20px;
    font-weight: 600;
}

/* Form Groups */
.ew-form-group {
    margin-bottom: 20px;
}

.ew-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.ew-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ew-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.required {
    color: #dc3232;
}

.ew-help-text {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 13px;
}

/* Form Row for Side-by-Side Fields */
.ew-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ew-col-half {
    flex: 1;
}

/* Radio Cards for Role Selection */
.ew-role-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ew-radio-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ew-radio-card:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.ew-radio-card input[type="radio"] {
    margin-top: 3px;
    margin-right: 12px;
    flex-shrink: 0;
    cursor: pointer;
}

.ew-radio-card input[type="radio"]:checked + .ew-radio-content {
    color: #667eea;
}

.ew-radio-card:has(input:checked) {
    border-color: #667eea;
    background: #f8f9ff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.ew-radio-content {
    flex: 1;
}

.ew-radio-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}

.ew-radio-content small {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* Submit Button */
.ew-submit-button {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ew-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.ew-submit-button:active {
    transform: translateY(0);
}

/* Form Footer */
.ew-form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.ew-form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.ew-form-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .ew-registration-container {
        padding: 10px;
    }
    
    .ew-registration-form-wrapper {
        padding: 25px;
    }
    
    .ew-registration-form-wrapper h2 {
        font-size: 26px;
    }
    
    .ew-registration-subtitle {
        font-size: 14px;
    }
    
    .ew-form-row {
        grid-template-columns: 1fr;
    }
    
    .ew-form-section h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .ew-registration-form-wrapper {
        padding: 20px;
    }
    
    .ew-registration-form-wrapper h2 {
        font-size: 22px;
    }
    
    .ew-radio-card {
        padding: 12px;
    }
    
    .ew-radio-content strong {
        font-size: 15px;
    }
    
    .ew-radio-content small {
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .ew-registration-container {
        max-width: none;
    }
    
    .ew-submit-button,
    .ew-form-footer {
        display: none;
    }
}
