/* Submit Photos Page Styling */

/* (Page header band is now handled globally by .page-header in style.css) */

/* Form Section */
.form-section {
    padding: 80px 20px;
    background: var(--bg-color);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-header h3 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    /* Use outline-offset instead of removing outline — keep keyboard focus visible */
    outline: 2px solid var(--primary-color);
    outline-offset: 0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(196, 112, 74, 0.12);
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 0.9rem;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px dashed #d0d0d0;
    border-radius: 15px;
    background: var(--bg-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover,
.file-upload-label.drag-over {
    border-color: var(--primary-color);
    background: rgba(196, 112, 74, 0.05);
}

.upload-icon {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #999;
}

/* File List */
.file-list {
    display: none;
    margin-top: 20px;
}

.file-list.active {
    display: block;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.file-icon {
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    word-break: break-word;
}

.file-size {
    font-size: 0.85rem;
    color: #999;
    margin-top: 2px;
}

.remove-file {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 8px;
    transition: all 0.2s ease;
    line-height: 1;
}

.remove-file:hover {
    transform: scale(1.2);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 112, 74, 0.3);
}

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

.submit-btn svg {
    transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) svg {
    transform: translateX(5px);
}

/* Form Footer */
.form-footer {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 10px;
    text-align: center;
}

.form-footer p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .submit-hero {
        margin-top: 150px;
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-header h3 {
        font-size: 2rem;
    }
}