/* Registration Form Styles */
.registration-section {
    padding: 60px 0;
    background-color: var(--light);
}

.registration-card {
    background-color: white;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    margin: 0 auto;
    max-width: 1000px;
}

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

.registration-header h2 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 10px;
}

.registration-header p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

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

.form-col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.required-field::after {
    content: " *";
    color: #dc3545;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="file"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--rounded-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--rounded-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #bb2d3b;
}

.password-strength {
    height: 4px;
    background: #ddd;
    margin-top: 5px;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength span {
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

.password-strength.weak span {
    background: #dc3545;
    width: 30%;
}

.password-strength.medium span {
    background: #fd7e14;
    width: 60%;
}

.password-strength.strong span {
    background: #28a745;
    width: 100%;
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--gray);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.section-title {
    color: var(--primary);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    background-color: var(--primary);
    margin-right: 12px;
    border-radius: 4px;
}

.form-check {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.text-muted {
    color: var(--gray);
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.gallery-thumbnail {
    position: relative;
    width: 120px;
    height: 120px;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rounded-sm);
}

.gallery-thumbnail .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Alert styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--rounded-sm);
    border-left-width: 4px;
}

.alert-success {
    background-color: #d1e7dd;
    border-color: #198754;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #842029;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Google Places Autocomplete adjustments */
.pac-container {
    z-index: 1051 !important;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--rounded-sm) var(--rounded-sm);
    border-color: var(--primary);
}

.pac-item {
    padding: 8px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-query {
    font-size: 15px;
    color: var(--dark);
}

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

.progress-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
}

.step.completed .step-number {
    background-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

.step.active .step-label {
    color: var(--dark);
    font-weight: 500;
}

/* Form sections */
.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Tag chips */
.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-gray);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.tag-chip input[type="checkbox"] {
    display: none;
}

.tag-chip label {
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.tag-chip input[type="checkbox"]:checked + label {
    color: var(--primary);
}

.tag-chip .checkmark {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray);
    border-radius: 3px;
    margin-right: 6px;
    position: relative;
}

.tag-chip input[type="checkbox"]:checked + label .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.tag-chip input[type="checkbox"]:checked + label .checkmark::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .registration-card {
        padding: 30px 20px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex: 1 0 auto;
    }
}