.gj-film-upload-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.gj-film-upload-closed {
    max-width: 600px;
    margin: 2em auto;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.gj-film-challenge-name {
    margin-bottom: 1.5em;
    padding: 12px 16px;
    background: #e8f4fd;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    font-size: 1em;
}

.gj-film-upload-form .gj-field {
    margin-bottom: 1.2em;
}

.gj-film-upload-form label {
    display: block;
    margin-bottom: 0.4em;
    font-weight: 600;
    font-size: 0.95em;
}

.gj-film-upload-form label .required {
    color: #d63638;
}

.gj-film-upload-form input[type="text"],
.gj-film-upload-form input[type="email"],
.gj-film-upload-form input[type="tel"],
.gj-film-upload-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    box-sizing: border-box;
}

.gj-film-upload-form textarea {
    resize: vertical;
}

.gj-film-upload-form input:focus,
.gj-film-upload-form textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

/* File drop zone */
.gj-file-drop {
    padding: 40px 20px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.gj-file-drop:hover,
.gj-file-drop.gj-drag-over {
    border-color: #2271b1;
    background: #f0f7fc;
}

.gj-file-drop p {
    margin: 0 0 10px;
    color: #666;
}

.gj-file-hint {
    font-size: 0.85em;
    color: #999 !important;
    margin-top: 10px !important;
}

.gj-file-browse {
    padding: 10px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    -webkit-appearance: none;
    min-height: 44px;
}

.gj-file-browse:hover {
    background: #135e96;
}

.gj-file-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Selected file */
.gj-file-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f0f7fc;
    border: 1px solid #2271b1;
    border-radius: 6px;
}

.gj-file-name {
    flex: 1;
    font-weight: 600;
    word-break: break-all;
}

.gj-file-size {
    color: #666;
    white-space: nowrap;
}

.gj-file-remove {
    background: none;
    border: none;
    font-size: 1.4em;
    color: #d63638;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
}

/* Progress bar */
.gj-progress-wrap {
    margin: 1.5em 0;
}

.gj-progress-bar {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.gj-progress-fill {
    height: 100%;
    width: 0;
    background: #2271b1;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.gj-progress-text {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

/* Messages */
.gj-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 1em;
    font-size: 0.95em;
}

.gj-message-error {
    background: #fef0f0;
    border: 1px solid #d63638;
    color: #8b1a1c;
}

.gj-message-info {
    background: #f0f7fc;
    border: 1px solid #2271b1;
    color: #135e96;
}

/* Submit button */
.gj-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    min-height: 48px;
}

.gj-submit:hover {
    background: #135e96;
}

.gj-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Success */
.gj-success {
    text-align: center;
    padding: 40px 20px;
    background: #f0faf0;
    border: 1px solid #5cb85c;
    border-radius: 8px;
}

.gj-success h3 {
    color: #2d6a2e;
    margin-bottom: 0.5em;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .gj-film-upload-wrap {
        padding: 10px;
    }

    .gj-file-drop {
        padding: 30px 15px;
    }
}
