* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f9;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#start {
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#inputs input, #inputs textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#inputs textarea {
    min-height: 100px;
    resize: vertical;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #2980b9;
}

#resume-preview {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
}

#res {
    padding: 20px;
    min-height: 500px;
}

#res-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

#res-body {
    display: flex;
    gap: 20px;
}

#left-column, #right-column {
    flex: 1;
}

.res-section {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    cursor: move;
}

.res-section h2 {
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.modern {
    background-color: #f0f8ff;
    font-family: 'Arial', sans-serif;
}
.modern .res-section {
    background-color: white;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.modern .res-section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

.classic {
    background-color: white;
    font-family: 'Times New Roman', Times, serif;
    border: 1px solid #000;
}
.classic .res-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}
.classic .res-section h2 {
    text-decoration: underline;
    color: black;
}

.minimal {
    background-color: white;
    font-family: 'Helvetica', sans-serif;
}
.minimal .res-section {
    background-color: white;
    border: none;
    padding: 10px 0;
}
.minimal .res-section h2 {
    font-weight: normal;
    letter-spacing: 1px;
    color: #333;
}

.draggable-zone {
    min-height: 200px;
}

.res-section[draggable="true"] {
    user-select: none;
}

.res-section.drag-over {
    border: 2px dashed #3498db;
}

@media (max-width: 768px) {
    #res-body {
        flex-direction: column;
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    #res, #res * {
        visibility: visible;
    }
    #res {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 20px;
    }
}