:root {
    --primary: #0056b3; /* Traditional medical blue */
    --primary-hover: #004494;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #dee2e6;
    --success: #28a745;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar - Traditional & Clean */
.navbar {
    background-color: var(--surface);
    border-bottom: 2px solid var(--primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Buttons - Flat & Corporate */
.btn-primary {
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    border: 1px solid var(--primary);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 14px;
    font-size: 1.1rem;
}

/* Hero Section - Simple and Direct */
.hero {
    background-color: var(--surface);
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.hero-bg-pattern {
    display: none; /* Removed the "AI" dots */
}

.badge {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.highlight {
    color: var(--primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 25px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: bold;
}

.meta-item svg {
    color: var(--primary);
}

.highlight-meta {
    background-color: #e8f4f8;
    padding: 6px 12px;
    border: 1px solid #b3d7df;
    border-radius: 3px;
    color: #0056b3;
}

/* Layout Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding-bottom: 60px;
}

/* Typography - Traditional */
.job-description h2 {
    font-size: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.job-description h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
    color: var(--text-main);
}

.job-description p {
    margin-bottom: 15px;
}

.salary-box {
    background-color: #f4f8fb;
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 25px 0;
}

.salary-box h3 {
    margin-top: 0;
    color: var(--primary);
}

.salary-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.salary-box ul li {
    margin-bottom: 8px;
}

.salary-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.requirements-list {
    margin-left: 20px;
}

.requirements-list li {
    margin-bottom: 10px;
}

/* Benefits (Hospitals list) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefit-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 3px;
    text-align: center;
}

.benefit-card h4 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

/* Application Form - Corporate Style */
.application-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.application-card h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-instruction {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

label small {
    font-weight: normal;
    color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 3px rgba(0, 86, 179, 0.3);
}

/* File Upload - Functional and plain */
.file-upload-wrapper {
    position: relative;
    cursor: pointer;
}

input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-ui {
    border: 1px dashed #999;
    background-color: #fafafa;
    padding: 15px;
    text-align: center;
    border-radius: 3px;
}

.file-upload-ui svg {
    display: none; /* Removed the icons to look less techy */
}

.file-upload-wrapper:hover .file-upload-ui {
    background-color: #f0f0f0;
    border-color: #666;
}

#mciFileName, #cvFileName {
    font-size: 0.95rem;
    color: #333;
}

/* Spinner */
.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading .spinner {
    display: inline-block;
}

/* Success Message */
.hidden {
    display: none !important;
}

.success-message {
    text-align: center;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 3px;
}

.success-icon-wrapper {
    display: none;
}

.success-message h3 {
    margin-bottom: 10px;
}

/* Footer - Standard Corporate */
footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: white;
}

.footer-brand p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-contact h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: white;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 10px;
}

.footer-contact svg {
    display: none; /* Hide icons in footer for simpler look */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.85rem;
}

/* Responsive & Mobile Phone Optimization */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    .hero {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    h1 {
        font-size: 1.7rem;
    }
    .subtitle {
        font-size: 0.95rem;
    }
    .job-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .job-description h2 {
        font-size: 1.3rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .application-card {
        padding: 20px 15px;
    }
    .map-section div {
        height: 250px;
    }
}
