/* Main styles for ATS Resume Builder */
.tools-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.tool-hero {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* .resume-builder {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.resume-form {
    /* display: flex; */
    gap: 2rem;
}

.form-sections {
    flex: 1;
}

.preview-section {
    flex: 1;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
}

.drag-handle {
    cursor: move;
    color: #6c757d;
    margin-right: 1rem;
}

.preview-content {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.preview-content h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.preview-content h2 {
    color: #34495e;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.preview-section-content {
    margin-bottom: 1.5rem;
}

.actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.export-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .resume-form {
        flex-direction: column;
    }
    
    .preview-section {
        position: static;
        max-height: none;
    }
}