/**
 * Models Wanted Page Styles
 * 
 * Styles for the models wanted page with sections and application form.
 * Based on support-page.css structure.
 */

.models-wanted-page {
    max-width: 1200px;
    margin: 0 auto;
}

.models-wanted-page__header {
    margin-bottom: 40px;
}

.models-wanted-page__title {
    font-family: var(--heading-font-family, 'Oswald', sans-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0;
    letter-spacing: 1px;
}

.models-wanted-page__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.models-wanted-page__section {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.models-wanted-page__section-title {
    font-family: var(--heading-font-family, 'Oswald', sans-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

.models-wanted-page__section-text {
    color: var(--text-primary, #ffffff);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== Form ===== */
.models-wanted-page__form {
    margin-top: 24px;
}

.models-wanted-page__form-group {
    margin-bottom: 24px;
}

.models-wanted-page__form-label {
    display: block;
    color: var(--text-primary, #ffffff);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.models-wanted-page__form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-primary, #ffffff);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.models-wanted-page__form-input:focus {
    outline: none;
    border-color: var(--sidebar-accent, #7aa6ff);
    box-shadow: 0 0 0 3px rgba(122, 166, 255, 0.15);
}

.models-wanted-page__form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.models-wanted-page__form-textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-primary, #ffffff);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 75px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.models-wanted-page__form-textarea:focus {
    outline: none;
    border-color: var(--sidebar-accent, #7aa6ff);
    box-shadow: 0 0 0 3px rgba(122, 166, 255, 0.15);
}

.models-wanted-page__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Image upload ===== */
.models-wanted-page__upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.models-wanted-page__upload-slot {
    position: relative;
    aspect-ratio: 1;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    overflow: hidden;
}

.models-wanted-page__upload-slot:hover {
    border-color: var(--sidebar-accent, #7aa6ff);
    background-color: rgba(122, 166, 255, 0.05);
}

.models-wanted-page__upload-slot--filled {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
}

.models-wanted-page__upload-slot input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.models-wanted-page__upload-icon {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    margin-bottom: 6px;
    pointer-events: none;
}

.models-wanted-page__upload-label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    pointer-events: none;
}

.models-wanted-page__upload-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    z-index: 1;
}

.models-wanted-page__upload-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.2s;
}

.models-wanted-page__upload-remove:hover {
    background: rgba(255, 80, 80, 0.8);
}

/* ===== Submit & messages ===== */
.models-wanted-page__submit-button {
    padding: 14px 40px;
    background: var(--sidebar-accent, #7aa6ff);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.models-wanted-page__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 166, 255, 0.3);
}

.models-wanted-page__submit-button:active {
    transform: translateY(0);
}

.models-wanted-page__submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.models-wanted-page__message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-align: center;
}

.models-wanted-page__message--success {
    background-color: rgba(100, 200, 100, 0.15);
    border: 1px solid rgba(100, 200, 100, 0.3);
    color: #80c080;
}

.models-wanted-page__message--error {
    background-color: rgba(255, 100, 100, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff8080;
}

.models-wanted-page__captcha {
    max-width: 300px;
}

.models-wanted-page__captcha-input {
    max-width: 150px;
}

.required {
    color: #ff8080;
}

/* ===== Mobile responsive ===== */
@media (max-width: 1023px) {
    .models-wanted-page {
        padding: 20px;
    }
    
    .models-wanted-page__title {
        font-size: 2rem;
    }
    
    .models-wanted-page__section {
        padding: 24px;
    }
    
    .models-wanted-page__upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .models-wanted-page {
        padding: 16px;
    }
    
    .models-wanted-page__title {
        font-size: 1.75rem;
    }
    
    .models-wanted-page__section {
        padding: 20px;
    }
    
    .models-wanted-page__upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
