/* Resume Critique Tool CSS Enhancements */

.file-upload-area {
    border: 2px dashed #666;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #ff6b35;
    background: #2a2a2a;
}

.file-upload-area.dragover {
    background-color: #3a5a3a;
    border-color: #4CAF50;
}

.upload-text {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 8px;
}

.upload-subtext {
    color: #999;
    font-size: 14px;
}

.file-name {
    display: none;
    color: #4CAF50;
    margin-top: 10px;
    font-weight: bold;
}

.file-name.show {
    display: block;
}

/* Input method radio buttons styling */
.input-method-container {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.input-method-label {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.input-method-label:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.input-method-label input[type="radio"] {
    margin-right: 10px;
}

/* Resume textarea enhancements */
#resumeText {
    min-height: 300px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 12px;
    background: #1a1a1a;
    color: #e0e0e0;
    resize: vertical;
}

#resumeText:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Form group spacing */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #e0e0e0;
}

/* Enhancement for file input group transitions */
#fileInputGroup {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#fileInputGroup.show {
    opacity: 1;
}

#textInputGroup {
    transition: opacity 0.3s ease;
}

/* Checkbox styling improvements */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 4px;
}

.checkbox-label {
    color: #e0e0e0;
    line-height: 1.4;
}

.checkbox-description {
    color: #999;
    font-size: 14px;
    margin-top: 4px;
}

/* Select dropdown improvements */
select {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
}

select:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Text input improvements */
input[type="text"] {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
}

input[type="text"]:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error styling */
.error-message {
    color: #ff4444;
    font-size: 14px;
    margin-top: 4px;
    padding: 8px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 4px;
    border-left: 3px solid #ff4444;
}