/* General Body and Container Styles */

* {
    font-size: 1rem;
}

.resume-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    margin: auto;
}

/* Input Options Section */
.input-options {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    border: 1px dashed #ddd;
}

.input-options h2 {
    text-align: center;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.form-inline {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    margin-bottom: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.form-inline label {
    font-weight: bold;
    min-width: 150px; /* Align labels */
}

.form-inline input[type="text"],
.form-inline input[type="file"] {
    flex-grow: 1; /* Allows input fields to take available space */
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}

.input-options .hint {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 0;
    flex-basis: 100%; /* Makes hint take full width below inputs/buttons */
    text-align: right;
}

.separator {
    text-align: center;
    margin: 15px 0;
    font-weight: bold;
    color: #888;
}

.horizontal-line {
    border-top: 1px solid var(--ebower-primary);
    margin-top: 25px;
    margin-bottom: 25px;
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

/* Data Source Info */
.data-source-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e2f0ff;
    border: 1px solid #b3d7ff;
    border-radius: 5px;
    font-size: 0.9em;
    color: #004085;
}


/* Header Styles */
.resume-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--ebower-secondary);
    padding-bottom: 20px;
    background-color: var(--ebower-primary);
    color: white;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.resume-header h1 {
    margin: 0;
    color: var(--ebower-secondary);
    font-size: 2.5em;
}

.resume-header span {
    color: var(--ebower-secondary);
}

.contact-info {
    font-size: 0.9em;
    color: #777;
    margin-top: 10px;
}

.contact-info a {
	color: var(--ebower-secondary);
}

.contact-info a:hover {
	color: var(--ebower-background-light);
}

/* Download Button Styles */
.download-options {
    text-align: center;
    margin-bottom: 25px;
}

/* Section Styles */
.section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ebower-primary);
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 5px;
}

.section h2, .section h3 {
    color: #2c3e50;
    border-bottom: 2px solid var(--ebower-primary); /* Accent border for section titles */
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 0;
    margin-bottom: 15px;
    margin: auto;
    text-align: center;
    border-radius: 0px;
}

.section h2 {
    align: center;
    text-align: center;
    font-size: 1.8em;
}

.section h3 {
    align: center;
    text-align: center;
    font-size: 1.4em;
    border-bottom-color: var(--ebower-primary); /* Lighter accent for sub-sections */
}

/* Specific Section Element Styles */
/* Introduction */
.introduction p {
    font-size: 1.1em;
    color: var(--ebower-primary);
}

.headline { 
    text-align: center; 
}

/* Skills */

.skills-content {
	background-color: #d5dce4;
	text-align: center;
	margin: auto;
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-top: 0.5rem;
}

.skills {
}

.skills h4 {
    margin-bottom: 5px;
    color: var(--ebower-primary);
    font-weight: bold;
}

.skills ul {
    list-style: none; /* Remove default bullet */
    padding: 0;
    margin-left: 15px; /* Indent slightly for visual separation */
}

.skills li {
    display: inline-block;
}

.skills ul li:not(:last-child):after {
    content: ' •'; /* Custom bullet point */
    color: black;
}

/* Experience & Education */
.job-entry, .edu-entry, .project-entry, .volunteer-entry {
    margin-bottom: 20px;
    padding: 10px 0;
}

.job-entry h4, .edu-entry h4, .project-entry h4, .volunteer-entry h4 {
    margin: 0;
    color: #333;
    font-size: 1.2em;
}

.job-meta, .edu-meta, .project-tech, .volunteer-meta {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
    margin-bottom: 10px;
}

.experience ul, .education ul, .projects ul, .publications ul, .professional-affiliations ul {
    list-style: disc; /* Default bullet for lists of responsibilities/details */
    margin-left: 20px;
    padding: 0;
}

.experience ul li, .education ul li, .projects ul li, .publications ul li, .professional-affiliations ul li {
    margin-bottom: 5px;
}

/* Publications */
.publications ul {
    list-style: decimal; /* Numbered list for publications */
    margin-left: 20px;
}

.publications li {
    margin-bottom: 10px;
}

/* Other Lists (Certifications, Awards, Languages) */
.certifications ul, .awards ul, .languages ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}

/* Interests */
.interests p {
    font-style: italic;
    color: #666;
}

/* References */
.references p {
    font-style: italic;
    color: #666;
}

/* Print Styles (Crucial for PDF download) */
@media print {
    /* Hide elements that shouldn't appear in print, like input forms and download buttons */
    body {
        background-color: white;
        padding: 0;
        margin: 0;
    }
    .resume-container {
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        max-width: 100%;
    }
    .section {
        border-bottom: 1px solid black;
        page-break-inside: avoid; /* Avoid breaking sections across pages */
    }
    .resume-header {
	color: black;
	background-color: white;
        border-bottom: 1px solid black;
    }
    .resume-header h1, .resume-header .contact-info {
        color: black;
        background-color: white;
    }
    .section:last-child {
        border-bottom: none;
    }
}
