body {
    margin: 0;
    padding: 40px 0;
    background-color: #f3f4f6;
    /* Soft light gray background */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Resume Page Container - US Letter Size */
.resume-page {
    width: 8.5in;
    min-height: 11in;
    background-color: #ffffff;
    border: 1px solid #9ca3af;
    /* Clean letter-size border line */
    padding: 0.5in 0.6in;
    /* Standard margins */
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    /* Elegant presentation shadow */
    position: relative;
}

/* Print styling */
@media print {
    body {
        background: none;
        padding: 0;
        margin: 0;
    }

    .resume-page {
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0.5in 0.6in;
        width: 100%;
        min-height: auto;
    }

    .no-print {
        display: none !important;
    }

    /* Force all elements to print in black ink only */
    * {
        color: #000 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    hr {
        border-top: 1px solid #000 !important;
    }
}

h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111827;
}

h3 {
    margin: 20px 0 5px 0;
    font-size: 14px;
    letter-spacing: 1px;
    color: #111827;
    text-transform: uppercase;
    font-weight: 700;
}

hr {
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 5px 0 12px 0;
}

/* Contact Info list */
.contact-list {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0 0 15px 0;
    gap: 15px;
    font-size: 12px;
    color: #4b5563;
    flex-wrap: wrap;
}

.contact-list li:not(:last-child)::after {
    content: " |";
    margin-left: 15px;
    color: #9ca3af;
}

/* Summary bullet list */
.summary-list {
    margin: 0;
    padding-left: 20px;
    font-size: 12.5px;
    line-height: 1.5;
}

.summary-list li {
    margin-bottom: 5px;
}

/* Skills Table - borderless, compact one-line text format */
.skills-table {
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0 10px 0;
}

.skills-table td {
    border: none;
    padding: 3px 0;
    vertical-align: top;
    font-size: 12.5px;
    line-height: 1.4;
}

.skills-table td:first-child {
    font-weight: bold;
    width: 180px;
    color: #111827;
    padding-right: 15px;
}

.skills-table td:last-child {
    color: #374151;
}

/* Experience styling */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 12px;
    margin-bottom: 2px;
}

.job-title-container {
    display: flex;
    flex-direction: column;
}

.job-company {
    margin: 0;
    font-size: 13.5px;
    font-weight: bold;
    color: #111827;
}

.job-title {
    margin: 2px 0 0 0;
    font-size: 12.5px;
    color: #4b5563;
    font-style: italic;
}

.job-date {
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

.job-project-title {
    margin: 4px 0 2px 0;
    font-size: 12.5px;
    font-weight: bold;
    color: #1976d2;
    /* professional accent color */
}

.job-responsibilities-label {
    margin: 4px 0 2px 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

.bullet-list {
    margin: 0 0 10px 0;
    padding-left: 20px;
    font-size: 12.5px;
    line-height: 1.5;
}

.bullet-list li {
    margin-bottom: 4px;
}

/* Education styling */
.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 8px;
}

/* Floating Export PDF Button */
.export-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

.export-btn:hover {
    background-color: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.export-btn:active {
    transform: translateY(0);
}