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

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #e8f4f8;
    padding: 40px 20px;
    color: #333;
}

.top-nav-bar {
    max-width: 600px;
    margin: 0 auto 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.nav-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-back-link:hover {
    background: #0056b3;
    text-decoration: none;
    color: #fff;
}

.print-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.print-button:hover {
    background: #0056b3;
}

.cv-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

header h1 {
    color: #1a252f;
    font-size: 28px;
    margin-bottom: 5px;
}

header p {
    color: #6c757d;
    font-size: 16px;
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    font-size: 18px;
    color: #343a40;
    margin-bottom: 10px;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

.section p {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 5px;
}

.section ul {
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
}

@media print {
    body {
        background: #fff;
        padding: 0;
    }
    .no-print, .top-nav-bar {
        display: none !important;
    }
    .cv-container {
        box-shadow: none;
        max-width: 100%;
        padding: 15mm;
    }
}