/**
 * BOM Zoom Connect - Frontend Registration Form Styles
 */

.bom-zoom-registration {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    min-height: 400px;
}

.bom-zoom-registration * {
    box-sizing: border-box;
}

/* Event Header */
.event-header {
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 40px;
    text-align: center;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
}

.event-header h1 {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.event-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-weight: 500;
}

.event-meta-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.event-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* Registration Form */
.registration-form {
    background: white;
    padding: 50px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #667eea;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
}

.required-mark {
    color: #e53e3e;
    margin-left: 3px;
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

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

.form-control::placeholder {
    color: #a0aec0;
}

.input-group {
    display: flex;
    width: 100%;
}

.input-group-text {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 12px 16px;
    color: #718096;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.form-text {
    color: #718096;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Privacy Notice */
.privacy-notice {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.privacy-notice h6 {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.privacy-notice p {
    color: #718096;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Form Check */
.form-check {
    padding-left: 1.75em;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.25em;
    border: 2px solid #e2e8f0;
    border-radius: 0.25em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    font-size: 0.95rem;
    color: #4a5568;
    cursor: pointer;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e2e8f0;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.progress-step.active .progress-step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.progress-step.completed .progress-step-circle {
    background: #48bb78;
    border-color: #48bb78;
    color: white;
}

.progress-step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #a0aec0;
}

.progress-step.active .progress-step-label {
    color: #667eea;
    font-weight: 600;
}

/* Character Counter */
.character-count {
    text-align: right;
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 5px;
}

.character-count.warning {
    color: #f6ad55;
}

.character-count.danger {
    color: #fc8181;
}

/* Validation States */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #fc8181;
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #48bb78;
}

/* Responsive */
@media (max-width: 768px) {
    .registration-form {
        padding: 30px 20px;
    }

    .event-header {
        padding: 30px 20px;
    }

    .event-header h1 {
        font-size: 1.8rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 15px;
    }

    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }

    .progress-steps::before {
        display: none;
    }

    .btn-submit {
        width: 100%;
        padding: 15px 30px;
    }
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
