:root {
    --bg-color: #0c0d1b; /* Deep charcoal from logo */
    --text-color: #f5f5f5;
    --accent-color: #060aedc9; /* Electric blue from logo */
    --card-bg: #1a1b2e;
    --shadow-color: rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

header {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; /* Keep header visible */
    top: 0;
    left: 0;
    z-index: 100;
}

.logo-img {
    width: 69px;  /* Adjust the width as needed */
    height: auto; /* This keeps the image's aspect ratio */
    
    filter: drop-shadow(0 0 5px rgba(6, 10, 237, 0.5));
}

.logout-btn {
    background-color: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: #444;
    color: var(--text-color);
}

.container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h1, h2 {
    font-weight: 700;
    color: var(--text-color);
}

p {
    color: #a0a0a0;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px var(--shadow-color);
    width: 100%;
    box-sizing: border-box;
}

.action-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 12px 24px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 10, 237, 0.4);
}

.action-btn:disabled {
    background-color: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.file-input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.file-label {
    background-color: var(--card-bg);
    border: 2px dashed #444;
    padding: 25px;
    border-radius: 8px;
    display: block;
    cursor: pointer;
    margin: 20px 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-label:hover {
    border-color: var(--accent-color);
}

.file-icon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #888;
}

.status-message {
    margin-top: 20px;
    font-style: italic;
    color: #a0a0a0;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    color: #555;
}

/* Styling for the skills section */
#skills-container {
    margin-top: 20px;
}


/* Styling for the experience section */
#experience-container {
    margin-top: 30px;
}


.job-entry h3 {
    margin-top: 0;
    margin-bottom: 5px;
}



/* Styling for the AI question popup */
.question-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
    margin-top: 0;
    color: #333;
}

#questions-output {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    min-height: 50px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.loading-animation {
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }

/* style.css */




.highlight-animation {
    border-color: #61dafb; /* Example: a blue glow */
    box-shadow: 0 0 15px #61dafb; /* Example: outer glow */
    transform: scale(1.05); /* Slightly enlarge */
}

/* Styles for the expanded job details container */
#expanded-job-details {
    display: none; /* Hidden by default */
    position: fixed; /* Or absolute, depending on layout */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    z-index: 1000;
    color: #fff;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

#expanded-job-details h3 {
    margin-top: 0;
    color: #61dafb;
}

#expanded-job-details p {
    line-height: 1.6;
}

.close-expanded-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #fff;
    cursor: pointer;
}


/* --- CONSOLIDATED HORIZONTAL TIMELINE STYLES --- */
#timeline {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 0;
    justify-content: space-around; /* This helps spread out the cards */
}

/* This is the sophisticated, single timeline line */
#timeline::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: var(--accent-color);
    top: 50px; /* Position the line horizontally */
    left: 0;
    right: 0;
    z-index: 1; /* This is the background line */
}

.job-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2; /* The container for all job elements */
    padding-top: 40px; /* Creates space for the dot and date */
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* This is the sophisticated, single timeline dot */
.job-entry::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    left: 60%;
    transform: translateX(-50%);
    background-color: var(--card-bg);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 3; /* The dot is on top of everything else */
}

.timeline-year-range {
    position: absolute;
    top: -25px; /* Position relative to the dot */
    font-size: 0.9em;
    color: #aaa;
    white-space: nowrap;
    z-index: 4; /* Ensures the date is visible */
}

/* The cards should be positioned correctly, without a separate dot or line */
.job-entry-image-container {
    width: 250px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #383838;
}

.job-entry-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/*
.experience-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}*/

.job-description-container {
    background-color: var(--card-bg);
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    display: none;
    transition: opacity 0.5s ease-in-out;
    text-align: left;
    max-width: 280px;
}



.job-entry.highlight {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(6, 10, 237, 0.4);
    border-radius: 10px;
}



.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    background-color: var(--card-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid transparent;
}

.skill-tag:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Add this new rule to your stylesheet */
.skill-tag.selected {
    background-color: var(--accent-color);
    border: 1px solid var(--text-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.skill-tag.skill-no-match {
    opacity: 0.5;
    cursor: default;
    border: 1px dashed #555;
}

/* Add these new rules to your stylesheet */


.question-box {
    background-color: #2e303d; /* Slightly darker than card background */
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9em;
    font-style: italic;
    border-left: 3px solid var(--accent-color);
    transition: opacity 0.5s ease-in-out;
}

/* Update this section in your style.css */



/* Add the keyframes for the pulsating animation */
@keyframes pulse-bg {
    0% {
        background-color: #383838;
    }
    50% {
        background-color: #4a4a4a;
    }
    100% {
        background-color: #383838;
    }
}

.experience-image {
    max-width: 150px; /* Adjust size as needed */
    height: auto;
    border-radius: 4px;
    display: none; /* Initially hide the image */
}


/* Add to your style.css file */

#interview-questions-container {
    width: 100%;
    max-width: 900px; /* Aligns with the main container width */
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

#interview-questions-container.visible {
    opacity: 1;
    transform: translateY(0);
}

#interview-questions-container h3 {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.8em;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

#interview-questions-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.question-tier {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: #1f2038; /* A shade darker than the main card */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.question-tier h4 {
    color: #fff;
    font-size: 1.4em;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
    margin-bottom: 15px;
}

.question-tier ul {
    list-style: none;
    padding: 0;
}

.question-tier li {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-style: italic;
    color: #ddd;
}

.question-tier li:last-child {
    border-bottom: none;
}

