* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

header {
    background: #1565C0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-icon {
    display: flex;
}

.logo-subtitle {
    color: white;
    font-size: 14px;
    padding-top: 5px;
}

.header-nav {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.header-nav a:hover {
    border-bottom-color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-flags {
    display: flex;
    gap: 8px;
}

.flag {
    border: none;
    background: transparent;       
    cursor: pointer;
    transition: transform 0.2s;
}

.flag:hover {
    transform: scale(1.1);
}

.header-links {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.header-links a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.header-links a:hover {
    border-bottom-color: white;
}

.tech-bar {
    padding: 15px 20px;
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto;
}

.tech-bar::-webkit-scrollbar {
    height: 8px;
}

.tech-bar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tech-bar::-webkit-scrollbar-thumb {
    background: #1565C0;
}

.tech-bar::-webkit-scrollbar-thumb:hover {
    background: #0D47A1;
}

.tech-item {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    min-width: 50px;
}

.tech-item:hover {
    transform: translateY(-2px);
}

.tech-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
    color: white;
}

.tech-name {
    font-size: 12px;
    color: #333;
}

.filter-bar {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.filter-tabs {
    display: flex;
    gap: 15px;
}

.filter-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.filter-tab.active {
    color: #1565C0;
    border-bottom-color: #1565C0;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #1565C0;
    background: white;
    color: #1565C0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.btn:hover {
    background: #1565C0;
    color: white;
}

.btn-primary {
    background: #1565C0;
    color: white;
}

.btn-primary:hover {
    background: #0D47A1;
    border-color: #0D47A1;
}

main {
    flex: 1;
    display: flex;
    min-height: 0;
}

.jobs-list {
    width: 600px;
    background: white;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
}

.jobs-list::-webkit-scrollbar {
    width: 8px;
}

.jobs-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.jobs-list::-webkit-scrollbar-thumb {
    background: #1565C0;
}

.jobs-list::-webkit-scrollbar-thumb:hover {
    background: #0D47A1;
}

.job-card {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
}

.job-card:hover {
    background: #f1f8ff;
}

.job-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-content {
    flex: 1;
    min-width: 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.job-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    transition: color 0.2s;
}

.favorite-btn:hover {
    color: #e91e63;
}

.favorite-btn.active {
    color: #e91e63;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
}

.job-salary {
    color: #4CAF50;
    font-weight: 500;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.map-container {
    flex: 1;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

.custom-marker div:hover {
    transform: scale(1.15);
}

.social-panel {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.map-marker-cluster {
    background: #1565C0;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

/* NEW STYLES FOR ABOUT PAGE START */

.about-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.about-hero {
    background: #f5f5f5;
    padding: 60px 20px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #333;
    line-height: 1.3;
}

.about-mission {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.mission-heading {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.mission-section {
    margin-bottom: 35px;
}

.mission-subheading {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.mission-text {
    font-size: 15px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mission-footer {
    margin-top: 50px;
    text-align: center;
}

.mission-text-bold {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

/* NEW STYLES FOR ABOUT PAGE END */

/* NEW STYLES FOR JOB DETAIL PAGE START */

.tech-active {
    opacity: 1;
}

.tech-item:not(.tech-active) {
    opacity: 0.5;
}

.job-detail-main {
    flex: 1;
    display: flex;
    min-height: 0;
}

.job-detail-content {
    width: 600px;
    background: white;
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    padding: 30px;
}

.job-detail-content::-webkit-scrollbar {
    width: 8px;
}

.job-detail-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.job-detail-content::-webkit-scrollbar-thumb {
    background: #1565C0;
}

.job-detail-content::-webkit-scrollbar-thumb:hover {
    background: #0D47A1;
}

.job-detail-header {
    margin-bottom: 30px;
}

.job-detail-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.job-detail-title-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

.job-detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.job-detail-favorite {
    font-size: 24px;
    margin-left: 15px;
}

.job-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-detail-salary {
    font-size: 20px;
    font-weight: 600;
    color: #4CAF50;
}

.job-detail-location {
    font-size: 15px;
    color: #666;
}

.job-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.job-info-card {
    background: #1565C0;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.job-info-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.job-info-label {
    font-size: 13px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.job-info-value {
    font-size: 18px;
    font-weight: 600;
}

.job-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
}

.job-action-btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
}

.job-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.job-description {
    margin-bottom: 30px;
}

.job-text {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.job-link {
    color: #1565C0;
    text-decoration: none;
}

.job-link:hover {
    text-decoration: underline;
}

.job-requirements {
    margin-bottom: 30px;
}

.job-list {
    margin-left: 20px;
    margin-bottom: 15px;
}

.job-list li {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 8px;
}

.job-detail-map {
    flex: 1;
    position: relative;
}

#job-map {
    width: 100%;
    height: 100%;
}

.map-controls {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.map-control-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.map-control-btn:hover {
    background: #f5f5f5;
    border-color: #1565C0;
}

.custom-marker-single {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker-single {
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.map-marker-single:hover {
    transform: scale(1.2);
}

/* NEW STYLES FOR JOB DETAIL PAGE END */

/* NEW STYLES FOR LOGIN AND REGISTER PAGES START */

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 40px 20px;
}

.auth-container {
    background: white;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 720px;
    width: 100%;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.auth-field {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    transition: border-color 0.3s;
}

.auth-field:focus-within {
    border-bottom-color: #1565C0;
}

.auth-icon {
    font-size: 24px;
    width: 32px;
    text-align: center;
    color: #1565C0;
}

.auth-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: 'Lexend', sans-serif;
    color: #333;
    background: transparent;
}

.auth-input::placeholder {
    color: #999;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.auth-checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #1565C0;
}

.auth-checkbox-label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
}

.auth-submit-btn {
    background: #1565C0;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background: #0D47A1;
}

.auth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

.auth-footer-center {
    justify-content: center;
}

.auth-link-left,
.auth-link-right {
    font-size: 14px;
    color: #333;
}

.auth-link {
    color: #1565C0;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

/* NEW STYLES FOR LOGIN AND REGISTER PAGES END */

/* NEW STYLES FOR SALARIES PAGE START */

.salary-main {
    flex: 1;
    display: flex;
    background: #f5f5f5;
    overflow-y: auto;
}

.salary-main::-webkit-scrollbar {
    width: 8px;
}

.salary-main::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.salary-main::-webkit-scrollbar-thumb {
    background: #1565C0;
}

.salary-main::-webkit-scrollbar-thumb:hover {
    background: #0D47A1;
}

.salary-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
}

.salary-title {
    font-size: 32px;
    font-weight: 600;
    color: #1565C0;
    margin-bottom: 30px;
}

.salary-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.salary-text:last-child {
    margin-bottom: 0;
}

.salary-selectors {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.salary-select {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Lexend', sans-serif;
    color: #333;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.salary-select:hover {
    border-color: #1565C0;
}

.salary-select:focus {
    outline: none;
    border-color: #1565C0;
}

.salary-chart-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.salary-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.salary-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-label {
    font-size: 14px;
    color: #666;
}

#salaryChart {
    height: 350px !important;
}

/* NEW STYLES FOR SALARIES PAGE END */