.ats-scorer-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ats-header {
    text-align: center;
    margin-bottom: 30px;
}

.ats-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.ats-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.file-upload-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
    position: relative;
    z-index: 1;
}

.file-upload-label:hover {
    border-color: #3498db;
    background: #e3f2fd;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
}

.file-text {
    font-size: 16px;
    color: #6c757d;
}

.file-info {
    margin-top: 8px;
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
    padding: 5px 10px;
    background: #f8fff9;
    border-radius: 4px;
    border-left: 3px solid #28a745;
}

.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group small {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.submit-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: inline-block;
}

.btn-text, .loading-spinner {
    transition: all 0.3s ease;
}

.results-container {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #3498db;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.score-header h3 {
    color: #2c3e50;
    margin: 0;
}

.score-circle {
    background: #3498db;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.score-circle span {
    font-size: 32px;
    line-height: 1;
}

.score-circle small {
    font-size: 14px;
    opacity: 0.9;
}

.score-breakdown {
    margin-bottom: 25px;
}

.score-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.score-item.score-excellent {
    border-left-color: #27ae60;
}

.score-item.score-good {
    border-left-color: #f39c12;
}

.score-item.score-average {
    border-left-color: #e67e22;
}

.score-item.score-poor {
    border-left-color: #e74c3c;
}

.score-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.score-item-title {
    font-weight: 600;
    color: #2c3e50;
}

.score-item-value {
    font-weight: bold;
    font-size: 16px;
}

.score-excellent .score-item-value {
    color: #27ae60;
}

.score-good .score-item-value {
    color: #f39c12;
}

.score-average .score-item-value {
    color: #e67e22;
}

.score-poor .score-item-value {
    color: #e74c3c;
}

.score-item-description {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.4;
}

.improvement-tips {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.improvement-tips h4 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 18px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    color: #2c3e50;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li:before {
    content: "💡";
    margin-right: 10px;
}

.action-buttons {
    text-align: center;
    margin-top: 25px;
}

.btn-secondary {
    padding: 12px 25px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

@media (max-width: 768px) {
    .ats-scorer-container {
        margin: 20px;
        padding: 20px;
    }
    
    .score-header {
        flex-direction: column;
        text-align: center;
    }
    
    .score-header h3 {
        margin-bottom: 15px;
    }
    
    .score-circle {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .score-circle span {
        font-size: 24px;
    }
}