* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}
.builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 3rem;
}
@media (max-width: 900px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
}
.form-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 800px;
    overflow-y: auto;
}
.preview-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 800px;
}
.section-title {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.date-group {
    display: flex;
    gap: 10px;
}
.date-group select {
    flex: 1;
}
.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
    text-align: center;
}
.btn:hover {
    background: #2980b9;
}
.btn-primary {
    background: #3498db;
}
.btn-primary:hover {
    background: #2980b9;
}
.btn-success {
    background: #2ecc71;
}
.btn-success:hover {
    background: #27ae60;
}
.btn-danger {
    background: #e74c3c;
}
.btn-danger:hover {
    background: #c0392b;
}
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.resume-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}
.resume-name {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.resume-title {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}
.resume-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1rem;
}
.resume-section {
    margin-bottom: 1.5rem;
}
.resume-section-title {
    font-size: 1.4rem;
    color: #2c3e50;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.experience-item, .education-item, .project-item {
    margin-bottom: 1.2rem;
}
.experience-title, .education-title, .project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}
.experience-company, .education-institution, .project-role {
    font-weight: 500;
    color: #34495e;
}
.experience-date, .education-date, .project-date {
    color: #7f8c8d;
    font-style: italic;
}
.experience-description, .education-description, .project-description {
    margin-top: 0.5rem;
    color: #34495e;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill-item {
    background: #ecf0f1;
    padding: 8px 15px;
    border-radius: 20px;
    color: #2c3e50;
}
.tab-container {
    margin-bottom: 1.5rem;
}
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    margin-bottom: 5px;
}
.tab.active {
    background: #3498db;
    color: white;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.add-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    color: #7f8c8d;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.copyright {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #95a5a6;
}
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
}
.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.experience-block, .education-block {
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    background-color: #f9f9f9;
}
@media (max-width: 600px) {
    .resume-contact {
        flex-direction: column;
        align-items: center;
    }
}
