/* CV Builder Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.builder-panel {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sections-panel {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #eee;
}

.preview-pane {
    flex: 1.5;
    padding: 20px;
    position: relative;
}

.cv-preview {
    background: white;
    min-height: 800px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 0 auto;
    max-width: 800px;
}

.section-item {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: move;
    transition: all 0.3s;
}

.section-item:hover {
    border-color: #667eea;
    background: #e9ecef;
}

.section-item.sortable-ghost {
    opacity: 0.4;
}

.template-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.template-btn {
    padding: 10px 20px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.template-btn.active,
.template-btn:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
}

.auth-form {
    max-width: 400px;
    margin: 100px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .builder-panel {
        flex-direction: column;
    }
}

