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

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

.file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 5px 7px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    min-height: 28px;
    height: 28px;
    box-sizing: border-box;
}

.file-label:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #00cc66;
}

.file-text {
    font-size: 0.75rem;
}

.file-icon {
    font-size: 0.8rem;
}

/* Left side inside file-label to stack main text and optional subtext */
/* file-label-left and file-subtext removed to restore original site styles */

/* Form Actions */
.form-actions {
    margin-top: 4px;
}

.modal-action-group {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.modal-action-btn {
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #00190f;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    min-width: 120px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-action-btn:hover {
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.4);
    transform: translateY(-1px);
}

.modal-action-btn.secondary {
    background: rgba(0, 0, 0, 0.4);
    color: #f4fff9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-action-btn.secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.modal-action-btn.full-width {
    width: 100%;
}

.submit-btn,
.premium-btn {
    width: 100%;
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #00cc66, #00ff88);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    transform: translateY(-2px);
}

/* Responsive: Tablet (768px) — must be here to override base rules due to CSS load order */
@media (max-width: 768px) {
    .file-label {
        min-height: 48px;
        height: auto;
        padding: 14px 12px;
        font-size: 16px;
    }
}

/* Responsive: Mobile (480px) */
@media (max-width: 480px) {
    .file-label {
        min-height: 32px;
        height: auto;
        padding: 5px 7px;
        font-size: 12px;
        border-radius: 3px;
    }

    .file-text {
        font-size: 12px;
    }

    .file-icon {
        font-size: 0.7rem;
    }
}

