

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-grey);

    font-family: 'Roboto', sans-serif;
    /* font-family: Tahoma, Arial, sans-serif; */
}

a {
    text-decoration: none;
}

h1 {
    margin: 0;
}

h2 {
    margin: 0;
}

p {
    margin: 0;
}

/* ================= */
/* Background colors */
/* ================= */
.bg-blue {
    background-color: var(--dark-blue) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}


/* =========== */
/* Text Colors */
/* =========== */
.color-white {
    color: var(--text-white) !important;
}

.color-blue {
    color: var(--blue) !important;
}

/* ======== */
/* Hover BG */
/* ======== */
.hover-danger:hover {
    background-color: var(--error) !important;
}

/* ============= */
/* Highlight Tag */
/* ============= */
.highlight-tag {
    display: inline-block;
    background-color: var(--blue);
    color: var(--text-white);

    padding: 0.2vw 0.5vw;
    border-radius: 5px;
}

/* ====== */
/* Loader */
/* ====== */
.loader {
    width: 15px;
    height: 15px;

    margin-top: 5px;

    border: 6px solid var(--bg-white);
    /* Light grey */
    border-top: 6px solid var(--blue);
    /* Blue */
    border-radius: 50%;

    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==================== */
/* Notification Styling */
/* ==================== */
.notifications {
    position: fixed;
    bottom: 25px;
    right: 0px;

    max-width: 350px;
    max-height: 300px;

    padding: 50px;

    overflow-x: hidden;
    overflow-y: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    z-index: 3;
}

.notification {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    padding: 18px;

    font-size: 14px;
    font-weight: bold;

    background-color: var(--blue);
    color: var(--text-white);

    border-radius: 10px;

    margin-bottom: 15px;

    transition: 0.25s ease-in-out;
}

.notification>.notification-icon {
    width: 30px;
    height: 30px;

    margin-right: 10px;
}

.notification>.notification-close {
    width: 20px;
    height: 20px;

    margin-left: auto;
    margin-right: auto;

    cursor: pointer;
}

.notification-info {
    background-color: var(--blue);
    /* box-shadow: var(--blue) 0px 0px 30px; */
}

.notification-success {
    background-color: var(--success);
    /* box-shadow: #2ecc71 0px 0px 30px; */
}

.notification-warning {
    background-color: var(--warning);
    /* box-shadow: #f39c12 0px 0px 30px; */
}

.notification-error {
    background-color: var(--error);
    /* box-shadow: #e74c3c 0px 0px 30px; */
}

/* ============== */
/* Navbar Styling */
/* ============== */
@media screen and (min-width:300px) {
    .navbar {
        display: flex;
        align-items: center;
    
        padding: 0 2vw;
    
        height: 35px;
    
        background-color: var(--navbar);
    
        /* Shadow in bottom part */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

@media screen and (min-width:900px) {
    
    .navbar {
        display: flex;
        align-items: center;
    
        padding: 0 2vw;
    
        height: 10vh;
        min-height: 55px;
    
        background-color: var(--navbar);
    
        /* Shadow in bottom part */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

@media screen and (min-width:300px) {
    .navbar>img {
        width: 18%;
        cursor: pointer;
    }
    .navbar>.account-pill>img {
        width: 7vw;
        margin: 0 0.4vw;
    }
}

@media screen and (min-width:400px) {
    .navbar>img {
        width: 15%;
    }
    .navbar>.account-pill>img {
        width: 5vw;
        margin: 0 0.4vw;
    }
}

@media screen and (min-width:500px) {
    .navbar>img {
        width: 14%;
    }
    .navbar>.account-pill>img {
        width: 5vw;
        margin: 0 0.4vw;
    }
}

@media screen and (min-width:600px) {
    .navbar>img {
        width: 12%;
    }
    .navbar>.account-pill>img {
        width: 4vw;
        margin: 0 0.4vw;
    }
}

@media screen and (min-width:750px) {
    .navbar>img {
        width: 10%;
    }
    .navbar>.account-pill>img {
        width: 3.5vw;
        margin: 0 0.4vw;
    }
}


.navbar>span {
    display: flex;
    align-items: end;


    margin-left: 0.2vw;

    height: 70%;

    /* Have a constant font size regardless of the zoom */
    font-size: var(--small-font);
    color: var(--text-light-grey);
}

.navbar>.account-pill {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    min-width: 10%;
    height: 60%;

    padding-left: 1vw;

    background-color: var(--bg-light-grey);
    border-radius: 50px;

    font-size: var(--regular-font);
    color: var(--text-grey);
}

.navbar>.language-selection {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    min-width: 10%;
    height: 60%;

    padding-left: 1vw;

    font-size: var(--regular-font);
    color: var(--text-grey);
}



/* =============== */
/* Sidebar Styling */
/* =============== */
@media screen and (min-width:300px) {
    .layout {
        height: 90vh;
    }

    .navbar>.account-pill{
        font-size: var(--small-font);
    }
}
@media screen and (min-width:900px) {
    .layout {
        display: grid;
        grid-template-columns: auto 1fr;
    
        height: 90vh;
    }

    .navbar>.account-pill>img {
        width: 2.7vw;
        margin: 0 0.4vw;
    }

    .navbar>.account-pill{
        font-size: var(--regular-font);
    }
}

/* ############ */
/* SIDEBAR BASE */
/* ############ */

/* Main sidebar container */
@media screen and (min-width:300px) {
    .sidebar {
        display: none;
    }

    .mobile-menu {
        margin-left:10px;
        display: block;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
    }

    nav {
        position: fixed;
        overflow: hidden;
        display: none;
    }

    nav ul {
        display: block;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        color: white;
        text-align: center;
    }


    .mobile-menu-items {
        display: none;
        position: absolute;
        inset: 55px 10px 0px 135px;
        height: 570px;
        margin: 0;
        border-radius: 6px;

        overflow-y: auto;
        transition: .3s;
        z-index: 9998;
        box-shadow: 0 0 30px color-mix(in srgb, var(--dark-blue), transparent 90%);

        background-color: var(--blue-medium-dark) !important;
        color: white !important;
    }

    .stat-tiles {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 1vw;
        margin-right:1vw;
        width: 100%;
    }

    .stat-tile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    
        width: 45%;
        height: 8vh;
    
        padding: 5px;

        margin:3px;
    
        background-color: var(--bg-white);
        border-radius: 9px;
    
        color: var(--text-grey);
    }

    .job-details-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

        
        margin-bottom: 1vw;
    
        font-size: var(--regular-font);
    
    }

    .items-list {
        width: 97%;
        height: 60vh;
    
        padding: 1vw 0;
    
        display: flex;
    
        flex-direction: column;
    
    }

    .no-candidates-available {
        width: 95%;
    }

    .job-details-tabs {
        display: flex;
        flex-direction: column;
    
        width: 95%;
        height: 400px;
    
        padding: 1vw;

        margin-top:10px;
    }

    .mobile-version{
        display: flex !important;
    }
    .laptop-version {
        display: none !important;
    }
    .upload_resume_form {
        margin-left: 10vw !important;
        width:80%;
    }
    .container {
        overflow-y: unset !important;
    }
}

@media screen and (min-width:900px) {
    .mobile-menu {
        display: none;
    }

    .no-candidates-available {
        width: 78% !important;
    }

    .mobile-version{
        display: none !important;
    }
    .laptop-version {
        display: flex !important;
    }

    .sidebar {
        width: 250px;
        
        /* Visual styling */
        background-color: var(--bg-blue);
        color: var(--bg-white);

        /* Layout */
        display: flex;
        flex-direction: column;
        overflow: hidden;

        /* Animation */
        transition: width 0.3s ease;
    }

    .stat-tiles {
        display: flex;
        justify-content: space-between;
        margin-top: 1vw;
        margin-left:0;
        width: 100%;
    }

    .stat-tile {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    
        width: 16.5%;
        height: 8vh;
    
        padding: 0 1vw;
    
        background-color: var(--bg-white);
        border-radius: 9px;
    
        color: var(--text-grey);
    }

    .job-details-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    
        margin-bottom: 1vw;
    
        font-size: var(--regular-font);
    
    }
    .items-list {
        width: 17%;
        height: 60vh;
    
        padding: 1vw 0;
    
        display: flex;
    
        flex-direction: column;
    
    }

    .job-details-tabs {
        display: flex;
        flex-direction: column;
    
        width: 51%;
        height: 60vh;
    
        padding: 1vw;

        margin-top:0;
    }

    .upload_resume_form {
        width:50%;
        margin: 0 auto !important;
    }
    
    .container {
        overflow-y: auto !important;
    }
}



/* Collapsed sidebar state */
.sidebar.collapsed {
    width: 65px;
}

/* ############## */
/* MENU STRUCTURE */
/* ############## */

/* Main menu wrapper */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    width: 250px;
    min-width: 250px;
    /* Prevents content shrinking */
}

/* Collapsed state adjustments */
.sidebar.collapsed .sidebar-menu {
    width: 65px;
    min-width: 65px;
}

/* Scrollable content area */
.main-menu-items {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    transition: width 0.3s ease;
}


/* ########### */
/* MENU HEADER */
/* ########### */

/* Menu title and collapse button container */
.sidebar-menu>.menu-header {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

/* Collapse button styling */
.sidebar-collapse {
    width: 20px;
    height: 20px;
    rotate: -90deg;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Collapsed state adjustments */
.sidebar.collapsed {
    .menu-header {
        padding: 20px 22.5px;
        justify-content: center;

        span {
            display: none;
        }
    }

    .sidebar-collapse {
        transform: rotate(180deg);
    }
}


/* ########## */
/* MENU ITEMS */
/* ########## */

/* Basic menu item styling */
.sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--bg-white);
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;

    &:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    img {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        min-width: 20px;
    }

    span {
        flex-grow: 1;
        font-size: var(--regular-font) !important;
    }
}

/* Collapsed state menu items */
.sidebar.collapsed .sidebar-item,
.sidebar.collapsed .sidebar-section {
    padding: 12px 22.5px;
    justify-content: center;

    img {
        margin-right: 0;
    }

    span {
        display: none;
    }
}

.sidebar-section-container {
    display: flex;
    flex-direction: column;

    padding: 0 5px;
    margin: 10px 5px 0 5px;


    border: 1px solid var(--bg-white);
    border-radius: 5px;
}

.sidebar-section {
    display: flex;

    padding: 12px 15px;

    color: var(--bg-white);
    text-decoration: none;

    transition: background-color 0.2s;
    white-space: nowrap;
}

.sidebar-section>img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    min-width: 20px;
}

.sidebar-section>a {
    color: var(--bg-white);
}


/* ############# */
/* DROPDOWN MENU */
/* ############# */

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Dropdown trigger button */
.dropdown-label {
    cursor: pointer;
    position: relative;
}

/* Dropdown arrow icon */
.dropdown-arrow {
    width: 12px !important;
    height: 12px !important;
    margin-left: auto !important;
    transition: transform 0.2s;
    transform: rotate(90deg);
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar.collapsed .dropdown-arrow {
    display: none;
}

/* Dropdown content - Expanded state */
.dropdown-content {
    display: none;

    margin: 5px 15px 5px 45px;
    padding: 8px 0;

    border: 1px solid var(--text-white);
    border-radius: 8px;
}

/* Dropdown content - Collapsed state */
.sidebar.collapsed .dropdown-content {
    position: absolute;
    left: 100%;
    top: 0;
    margin: 0;
    min-width: 180px;
    z-index: 1000;
}

/* Show dropdown when active or on hover (collapsed state) */
.dropdown.active .dropdown-content,
.sidebar.collapsed .dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown items */
.dropdown-item {
    display: block;
    padding: 8px 15px;
    color: var(--text-white);
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;

    font-size: var(--regular-font);

    &:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* ############## */
/* LOGOUT SECTION */
/* ############## */

.logout-section {
    margin-top: auto;
    width: 100%;
    background-color: var(--bg-blue);
}

/* Separator lines */
.sidebar-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0;
}


/* ################# */
/* SCROLLBAR STYLING */
/* ################# */

/* Custom scrollbar for sidebar and menu items */
.sidebar::-webkit-scrollbar,
.main-menu-items::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.main-menu-items::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
.main-menu-items::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.main-menu-items .active {
    background-color: var(--dark-blue);
    font-weight: bold;
}

/* ========= */
/* Container */
/* ========= */
.container {
    height: 90vh;

    overflow-y: auto;
}

.super {
    padding: 1vw;
}

.white-rounded-box {
    display: flex;

    background-color: var(--bg-white);
    border-radius: 9px;
}


/* =========== */
/* Job Details */
/* =========== */

/* ########## */
/* Stat Tiles */
/* ########## */
.stat-tile.bg-blue {
    font-weight: bold;
}

.stat-tile-text {
    font-size: var(--regular-font);
}

.stat-tile-number {
    font-size: var(--large-number-font);
}


/* ####### */
/* Content */
/* ####### */

.message-sender {
    display:flex; 
    justify-content:space-between; 
    align-items:center;
}

.message-sender .message-time {
    font-size: .7rem;
}

.date-message {
    width: 80% !important;

    display: flex;
    justify-content: center;
    
    background-color: transparent !important;
    color: var(--text-black);

    margin-bottom: 3px !important;
}

.date-message .date{
    width: 40%;
    background: var(--bg-blue);
    text-align: center;
    padding: 3px;
    border-radius: 6px;

    font-size:.7rem;
}

.sticky-header {
    display: flex; 
    align-items: center; 

    margin-left:1vw; 
    padding-top:1vw ; 
    padding-bottom:.5vw; 
    top: 0; 
    
    width: 99%; 
    
    -webkit-box-shadow: 0 7px 6px -8px grey;            
    -moz-box-shadow: 0 7px 6px -8px grey;
    box-shadow: 0 7px 6px -8px grey;     

    position: sticky !important;

    background-color: white;
}

/* ############### */
/* Candidates List */
/* ############### */



.job-description-container {
    display: flex;
    flex-direction: column;
    align-items: end;
}


.items-list>p,

.job-details-tabs>p {

    text-align: center;

    font-size: var(--medium-font);
    font-weight: bold;

    color: var(--text-black-color);

}

.show-more-button {

    font-size: var(--regular-font);

}

.job-description-preview,
.job-description-full span {
    font-size: var(--regular-font);

    line-height: 1.35vw;

    color: var(--text-black);
}

.job-description-preview div span,
.job-description-full>p {
    font-size: var(--heading-font);

    line-height: var(--heading-line-height);

    font-weight: bold;

    color: var(--text-black);


}

.job-detail-description-icons {
    background-color: var(--primary-fade);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.job-detail-description-icons:hover {
    transform: scale(1.2);
}

.job-detail-title {
    font-size: var(--heading-font) !important;

    line-height: var(--medium-line-height) !important;

    font-weight: bold !important;

    color: var(--text-black) !important;

    width: 60%;
}

/* Filter dropdown */
.custom-dropdown {
    position: relative;
    display: flex;

    justify-content: center;

    text-align: center;

    font-size: var(--regular-font);
}

.dropbtn {
    width: 80%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 0.6vw;
    padding: 0.2vw .2vw;


    background-color: white;

    border : 1px solid black;
    
    color: black;

    font-size: var(--regular-font);

    cursor: pointer;

    border-radius: 5px;
}

.custom-dropdown-content {
    display: none;
    position: absolute;

    /* min-width: 160px; */

    background-color: var(--bg-white);

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;

    font-size: var(--regular-font);

    width: 100%;
    width: -moz-available;          /* For Mozzila */
    width: -webkit-fill-available;  /* For Chrome */
    width: stretch;                 /* Unprefixed */
}

.custom-dropdown-content a {
    color: var(--text-grey);
    padding: 0.5vw 1vw;
    text-decoration: none;
    display: block;
}

.custom-dropdown-content a:hover {
    background-color: var(--bg-light-grey);
}

.custom-dropdown:hover .custom-dropdown-content {
    display: block;
}

.items {
    font-size: var(--regular-font);
    line-height: var(--regular-line-height);
}

/* List of names */
/* .items {
    margin-top: 0vw;
} */

.items ul {
    list-style-type: none;
    padding: 0;

    height: 50vh;
    overflow-y: auto;
}

.items ul li {
    padding: .6vh 2vw;

    color: var(--text-black-color);

    cursor: pointer;
}

.items ul li:hover {
    background-color: var(--light-blue);
}


/* ############### */
/* Job Detail Tabs */
/* ############### */


.job-description-preview-parent {
    font-size: var(--regular-font);
}

.tabs {
    display: flex;
    align-items: end;

    border-bottom: 1px solid var(--text-light-grey);
}

.tablinks {
    min-width: 6vw;

    padding: 0.5vw 0.7vw;
    margin-top: 0.7vw;

    background-color: var(--bg-light-grey);
    color: var(--text-grey);

    font-weight: bold;

    border: none;
    cursor: pointer;

}

.tablinks.active {
    background-color: var(--bg-blue);
    color: var(--text-white);

    border-radius: 5px 5px 0 0;

    /* Increase size */
    padding: 0.6vw 0.8vw;
}

/* Tab content */
.tabcontent {
    display: none;
    border-radius: 5px;
}

.tabcontent.active {
    display: block;
    width: 100%;
}

/* Tab Specific CSS */

@media screen and (min-width:300px) {
    #analysis>.analysis-area {
        width: 97%;
        height: 280px;
    
        padding: 1vw;
        margin-top: 0.5vw;
    
    
        color: var(--text-grey);
        background-color: var(--bg-light-grey);
    
        border: none;
        border-radius: 5px;
    
        overflow-y: auto;
    }

    #gap-analysis>.gap-analysis-area,
    #profile-alignment-analysis>.profile-alignment-analysis-area,
    #suggestions>.suggestions-area,
    #referral-message-textarea, 
    #psychological-profile>.psychological-profile-area,
    .contact-candidate-body>textarea,
    #notes>textarea  {
        width: 97%;
        height: 280px ;
    }
}

@media screen and (min-width:900px) {
    #analysis>.analysis-area {
        width: 97%;
        height: 40vh;
    
        padding: 1vw;
        margin-top: 0.5vw;
    
    
        color: var(--text-grey);
        background-color: var(--bg-light-grey);
    
        border: none;
        border-radius: 5px;
    
        overflow-y: auto;
    }    

    #gap-analysis>.gap-analysis-area,
    #profile-alignment-analysis>.profile-alignment-analysis-area,
    #suggestions>.suggestions-area,
    #referral-message-textarea,
    #psychological-profile>.psychological-profile-area,
    .contact-candidate-body>textarea,
    #notes>textarea 
        {
        width: 97%;
        height: 40vh;
    }

 
}


#gap-analysis>.gap-analysis-area {

    padding: 1vw;
    margin-top: 0.5vw;


    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;

    overflow-y: auto;
}

#profile-alignment-analysis>.profile-alignment-analysis-area {
    padding: 1vw;
    margin-top: 0.5vw;


    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;

    overflow-y: auto;
}

#suggestions>.suggestions-area {

    padding: 1vw;
    margin-top: 0.5vw;


    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;

    overflow-y: auto;
}

#psychological-profile>.psychological-profile-area {

    padding: 1vw;
    margin-top: 0.5vw;

    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;

    overflow-y: auto;
}

/* Analysis */
.analysis-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1vw;
}

.analysis-buttons>button {
    padding: 1.1vh 1.7vw;
    margin-right: 1vw;

    background-color: var(--dark-blue);
    color: var(--text-white);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    transition: background-color 0.2s;
    transform-origin: center;

    outline: none;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.analysis-buttons>button:hover {
    transform: scale(1.2);
}

/* Questions generation and share buttons */
.suggestions-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1vw;
}

.suggestions-buttons>button {
    padding: 1.1vh 1.7vw;
    margin-right: 1vw;

    background-color: var(--dark-blue);
    color: var(--text-white);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    transition: background-color 0.2s;
    transform-origin: center;

    outline: none;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.suggestions-buttons>button:hover {
    transform: scale(1.2);
}

.section-header {
    background-color: #2c3e50;
    color: white;

    padding: 10px 10px;
    margin-bottom: 10px;

    border-radius: 5px;

    font-size: var(--regular-font);

    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    box-sizing: border-box;
}

.section-content,
.section-summary {
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    clear: both;
}

.section-content,
.section-summary>p {
    margin-bottom: 15px;
    color: #333;
    width: 100%;
}

/* Share Analysis Popup */
.share-overlay {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

@media screen and (min-width:300px) {
    .share-form-container {
        width: 80% !important; 

        margin: 3% auto;
        padding: 20px;

        background-color: #fefefe;

        border: 1px solid #888;
        border-radius: 5px;
    }
}

@media screen and (min-width:900px) {
    .share-form-container {
        width: 50% !important;

        margin: 3% auto;
        padding: 20px;

        background-color: #fefefe;

        border: 1px solid #888;
        border-radius: 5px;
    }    
}

.share-form-container h2 {
    text-align: center;
}

@media screen and (min-width:300px) {
    .message-preview {
        width: 100%;
    
        margin: 0 auto;
        margin-bottom: 20px;
    }
}

@media screen and (min-width:900px) {
    .message-preview {
        width: 80%;
    
        margin: 0 auto;
        margin-bottom: 20px;
    }    
}


.flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flex-row-center {
    display: flex;
    justify-content: center;
}

#share-email, .profile-share-email {
    width: 50%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Custom Questions Section */
.custom-question {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.question-text {
    font-weight: bold;
}
.question-answer {
    margin-top: 5px;
}

/* Small rounded buttons with icons within them */
.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 3px 6px;
    margin-right: 10px;

    background-color: var(--dark-blue);
    color: white;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    transition: background-color 0.2s;
}

.btn-icon img {
    width: 1.3vw;
}

.btn-icon:hover {
    background-color: var(--blue-medium-dark);
}

.btn-icon-danger {
    background-color: var(--error);
}

.btn-icon-danger:hover {
    background-color: #c0392b;
}

.btn-submit {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: var(--dark-blue);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: var(--blue-medium-dark);
}

.btn-secondary {
    padding: 10px 20px;
    background-color: #f1f1f1;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #ddd;
}

/* Referral Info */
#referral-message-textarea {

    padding: 1vw;
    margin-top: 0.5vw;

    font-size: var(--regular-font);

    resize: none;

    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;
}

/* Notes */
#notes>textarea {

    padding: 1vw;
    margin-top: 0.5vw;

    font-size: var(--regular-font);

    resize: none;

    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;
}

#notes>textarea:focus {
    outline: none;
}

/*Candidate Contact Popup*/

/* Contact candidate body */
.contact-candidate-body>textarea {

    padding: 1vw;
    margin-top: 0.5vw;

    font-size: var(--regular-font);

    resize: none;

    color: var(--text-black);
    /* background-color: var(--bg-light-grey); */

    /* border: 2px solid var(--text-black); */
    border: 2px solid var(--bg-light-grey);
    border-radius: 5px;
}

.contact-candidate-body>textarea:focus {
    outline: none;
    border: 2px solid var(--text-black);
}

/* Contact candidate fields */

.contact-field {
    display: flex; 
    align-items: center;
}

/* Email generation popup */
.draft-generate-group {
    display: flex;
    justify-content: center;
    margin-bottom: 3vh;
  }

.draft-generate-option input[type="radio"] {
    margin-left: 5vb;
  }

#chat>.messages {
    width: 97%;
    height: 38vh;

    padding: 1vw;
    margin-top: 0.5vw;

    font-size: var(--regular-font);

    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;

    overflow-y: auto;
}

.candidate-input-group {
    display: flex;
    justify-content: space-between;
    margin-top: 1vw;

    color: var(--text-grey);
    background-color: var(--bg-light-grey);

    border: none;
    border-radius: 5px;
}

#chat-input {
    width: 90%;

    margin-left: 1vw;

    font-size: var(--regular-font);

    background-color: var(--bg-light-grey);
    border: 1px solid var(--bg-light-grey);
}

#chat-input:focus {
    outline: none;
}

.candidate-input-group>button {
    display: flex;
    align-items: center;

    padding: 0.7vh 1vw;

    background-color: var(--dark-blue);
    color: var(--text-white);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    transition: background-color 0.2s;
}

.messages-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.message {
    display: flex;
    margin-bottom: 1vw;

    width: 80%;

    padding: 0.5vw 1vw;

    background-color: var(--bg-blue);
    color: var(--text-white);

    border-radius: 5px;
}

.hr-user {
    max-width: 30vw;

    /* Align to the right */
    margin-left: auto;

    background-color: var(--bg-dark-grey);
    color: var(--text-black);
}

.show-more-pill {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100px;
    height: 3vh;

    font-weight: normal;

    background-color: var(--bg-light-grey);
    color: var(--text-grey);

    border-radius: 5px;
    border: none;

    cursor: pointer;

    transition: background-color 0.2s;
}

.show-more-pill:hover {
    background-color: var(--bg-grey);
}

.extra-info-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 100%;

    margin-top: 1vw;

    background-color: var(--bg-light-grey);
    border-radius: 5px;
}

/* Pills of information: Have the label and content side by side. First label in small font, then content in larger font beside it */
@media screen and (min-width:300px) {
    .extra-info {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;

        width: 45%;
    
        padding: 0.5vw 1vw;
    
        border-radius: 5px;
    }

    .extra-info-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    
        width: 100%;
    
        margin-top: 1vw;
    
        background-color: var(--bg-light-grey);
        border-radius: 5px;
    }
}
@media screen and (min-width:900px) {
    
    .extra-info {
        display: flex;
        flex-direction: column;
    
        width: 17%;
    
        padding: 0.5vw 1vw;
    
        border-radius: 5px;
    }

    .extra-info-bar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    
        width: 100%;
    
        margin-top: 1vw;
    
        background-color: var(--bg-light-grey);
        border-radius: 5px;
    }
}

.ei-label {
    font-size: var(--regular-font);
    font-weight: bold;

    color: var(--text-black);
}

.ei-content {
    font-size: var(--regular-font);
    color: var(--text-secondary-black-color);


}

/* Buttons */
.btn-primary {
    padding: 1.1vh 1.7vw;
    margin-right: 1vw;

    background-color: var(--dark-blue);
    color: var(--text-white);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    transition: background-color 0.2s;

    outline: none;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.btn-primary-outline {
    padding: 1vh 1.7vw;
    margin-right: 1vw;

    background-color: var(--bg-white);
    color: var(--dark-blue);

    font-size: var(--regular-font);
    font-weight: bold;

    border: 1px solid var(--dark-blue);
    border-radius: 5px;
    cursor: pointer;

    transition: 0.2s;

    outline: none;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-primary-outline:hover {
    background-color: var(--blue);
    color: var(--text-white);

    border: 1px solid var(--blue);
}

.btn-disabled {
    padding: 1.1vh 1.7vw;
    margin-right: 1vw;

    width: fit-content;

    background-color: var(--bg-dark-grey);
    color: var(--text-grey);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: not-allowed;

    outline: none;
}

/* ============== */
/* Bento Grid CSS */
/* ============== */
@media screen and (min-width:300px) {
    .bento-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    
        margin: 1vw 0;
        
    
        font-size: var(--regular-font);
    }

    .candidate-lifecycle-report {
        margin-top:5px;
    }

    .export-graphs-widget { 
        margin-top: 5px;
        margin-bottom:15px;
    }

    .export-graphs-widget button {
        font-size: var(--medium-font);
        padding:15px;
        margin:5px;
    }
}
@media screen and (min-width:900px) {
    .bento-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    
        margin: 1vw 0;
        margin-top:0;
    
        font-size: var(--regular-font);
    }

    .application-per-month-report {
        width: 67%;

        height: 49vh;
    }

    .candidate-lifecycle-report {
        margin-top:0;
        width: 27%;

        height: 49vh;
    }

    .numeric-data-report {
        width: 75%;
        height: 20vh;
    }
    .export-graphs-widget {
        margin-top: 0;
        width: 19%;
        height: 20vh;
    }

    .export-graphs-widget button {
        font-size: var(--regular-font);
        padding:5px;
        margin:5px;
    }
}

/* =========== */
/* Admin Panel */
/* =========== */
.filter-toggles {
    display: flex;
    justify-content: center;
    
    padding: 10px;

    font-size: var(--regular-font);
}

.filter-toggle-item {
    margin: 0 10px;

    display: flex;
    align-items: center;
}

.filter-toggle-item label {
    margin-right: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--dark-blue);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--dark-blue);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ============ */
/* Reports Page */
/* ============ */
.stats {
    display: flex;
    justify-content: space-between;
}

.stats p {
    font-size: 2.5em;
}

.stats label {
    display: flex;

    padding: 4px 10px;

    font-size: var(--regular-font);
    font-weight: bold;

    background-color: var(--bg-light-grey);
    color: var(--text-grey);

    border-radius: 10px;
}

/* ========= */
/* Table CSS */
/* ========= */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.5vw;

    border-bottom: 1px solid var(--bg-dark-grey);

    text-align: center;

    font-size: var(--regular-font);
}

.table th {
    /* background-color: var(--bg-light-grey); */
    color: var(--text-black-color);

    font-size: var(--regular-font);
    font-weight: bold;

    padding: 0.5vw;

    border-bottom: 2px solid var(--bg-dark-grey);
}

.td-modify {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0.5vw 1vw;
}

.td-modify>button {
    padding: 0.5vw 1vw;

    background-color: var(--dark-blue);
    color: var(--text-white);

    font-size: var(--regular-font);
    font-weight: bold;

    border: none;
    border-radius: 5px;
    cursor: pointer;

    transition: background-color 0.2s;

    outline: none;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.td-modify>button:hover {
    background-color: var(--blue-medium-dark);
}

@media screen and (min-width:300px) {
    .td-modify img {
        width: 13px;
        height: 13px;
    
        margin-right: 0.5vw;
    
        cursor: pointer;
    
        background-color: var(--bg-blue);
        border-radius: 50%;
        padding: 0.2vw;
    
        transition: transform 0.2s;
    }
}

@media screen and (min-width:900px) {
    .td-modify img {
        width: 1.5vw;
        height: 1.5vw;
    
        margin-right: 0.5vw;
    
        cursor: pointer;
    
        background-color: var(--bg-blue);
        border-radius: 50%;
        padding: 0.2vw;
    
        transition: transform 0.2s;
    }    
}



.td-modify img:hover {
    transform: scale(1.1);
}

.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 15px;
    height: 15px;
    animation: spin 1s ease-in-out infinite;
    margin: 0px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ================= */
/* Organization Link */
/* ================= */
.three-link-menu {
    width: 100%;
    height: 150px;

    display: flex;
    justify-content: space-around;
}

.three-link-menu a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 30%;
    height: 100%;

    background-color: var(--bg-white);
    border-radius: 10px;

    font-size: 1.5vw;
    font-weight: bold;

    color: var(--text-grey);

    text-decoration: none;

    transition: 0.3s;
}

.three-link-menu a:hover {
    transform: scale(1.05);

    background-color: var(--bg-blue);
}

.three-link-menu a:hover span {
    color: var(--text-white);
}

.three-link-menu a:hover img {
    filter: invert(100%);
}

.required:after {
    content: " *";
    color: var(--error);
}

/* ================== */
/* Subscriptions Page */
/* ================== */
.subscriptions {
    font-family: 'Roboto', sans-serif;
    margin-top: 20px;
    margin-bottom: 10px;
}

.table-c {
    padding: 5px;
}

.pricing {
    border-radius: 20px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;

}

.price-table tr td {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 20px;

    font-size: 14px;
}

.price-table tr td:first-child {
    border-left: 0 none;
}

.price-table tr td:not(:first-child) {
    text-align: center;
    /* background-color: pink; */
    width: 25%;

}

.price-table tr:nth-child(even),
.price-table tr:nth-child(odd) {
    background-color: var(--back-light);
}

.price-table tr.price-table-head {
    /* background-color: var(--primary-fade); */
    color: var(--black);
}

.ai-feature {
    width: 18%;
    background-color: transparent;
    text-align: center;

}

.price-table tr.price-table-head td {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
}

.price-table td.price {

    padding: 16px 24px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    padding-top: 0;
}

.price-table td.price a {
    background-color: var(--primary-shade-1);
    color: var(--lightest-grey);
    padding: 12px 32px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    border-radius: 10px;
    width: 93px;
    box-shadow: 0 2px 5px var(--primary-shade-1);
}

.price-table td.price-table-popular {
    font-family: 'Roboto', sans-serif;
    border-top: 3px solid var(--primary-shade-1);
    color: var(--black);
    text-transform: uppercase;
    font-size: 12px;
    padding: 12px 48px;
    font-weight: 700;
}

.price-table .price-blank {
    border: none;
}



.price-table .price .price-label {
    background-color: var(--primary-fade);
    color: var(--black);
    padding: 12px 32px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    border-radius: 20px;
}

/*Pop up Window starts here */
.box {
    width: 40%;
    margin: 0 auto;
    background: var(--accent);
    padding: 35px;
    border: 2px solid var(--lightest-grey);
    border-radius: 20px/50px;
    background-clip: padding-box;
    text-align: center;
}

.button {
    font-size: 1em;
    padding: 10px;
    border-radius: 20px/50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.popup {
    margin-top: 3%;
    margin-left: 40%;
    padding: 35px;
    background: var(--bg-white);
    border-radius: 20px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: var(--black);
    font-family: 'Roboto', sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: var(--black);
}

.popup .cont {
    max-height: 30%;
    overflow: auto;
}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}

/* Pop up Window ends here */

/* Stripe CSS Start */
.stripe-form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1), 0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
    background-color: #f9fdff;
}

.hidden {
    display: none;
}

#payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

#payment-element {
    margin-bottom: 24px;
}

/* Buttons and links */
.stripe-button {
    background: var(--bg-blue);
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}

.stripe-button:hover {
    filter: contrast(115%);
}

.stripe-button:disabled {
    opacity: 0.5;
    cursor: default;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}

.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}

.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: var(--bg-blue);
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}

.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: var(--bg-blue);
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
    .stripe-form {
        width: 80vw;
        min-width: initial;
    }
}
/* Stripe CSS End */

/* Add Credits CSS Start */
.credit-tiles {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.credit-tile {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #e1e1e1;
}

.credit-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.credit-tile.featured {
    border: 2px solid #3498db;
    transform: scale(1.05);
}

.credit-tile > h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: var(--medium-font);
}

.credit-amount {
    font-size: var(--regular-font);
    font-weight: bold;
    color: #2c3e50;
    margin: 15px 0;

    min-height: 100px;
}

.credit-heading {
    font-size: var(--heading-font);
    font-weight: bolder;
}

.credit-price {
    font-size: var(--medium-font);
    color: #27ae60;
    margin: 15px 0 5px 0;
    font-weight: bold;
}

.credit-price-detail {
    color: #666;
    font-size: var(--small-font);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: center;
}

.features-list li {
    padding: 8px 25px;
    color: #555;
    position: relative;

    font-size: var(--regular-font);
}

.features-list li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
}

.credit-button {
    display: inline-block;

    padding: 12px 30px;
    
    background: #3498db;
    color: white;
    
    border-radius: 25px;
    transition: all 0.3s;
    
    font-size: var(--small-font);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    
    border: none;
    cursor: pointer;
}

.credit-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}
/* Add Credits CSS End */

/* View Candidate Profile Page Start */
.side-by-side-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    height: 100%;
}

.resume-side {
    flex: 0 0 55%;
    height: 100%;
    position: sticky;
    top: 1rem;
}

.resume-download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

    background-color: var(--bg-light-grey);
}

.content-side {
    flex: 0 0 40%;
}

.candidate-header {
    border-bottom: 1px solid var(--bg-light-grey);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.candidate-info h1 {
    color: var(--text-black-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.action-icon {
    margin-left: 1vw;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    width: 34px;
    height: 34px;
    
    background-color: var(--light-blue);
    border-radius: 4px;
    
    cursor: pointer;
    transition: all 0.2s;
}

.action-icon:hover {
    background-color: var(--blue-medium-dark);
}

.action-icon img {
    width: 18px;
    height: 18px;
}

.candidate-email {
    color: var(--text-secondary-black-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: var(--light-blue);
    color: var(--dark-blue);

    transition: background-color 0.2s;
}

.status-badge:hover {
    background-color: var(--dark-blue);
    color: var(--text-white);
}

.candidate-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-light-grey);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    background-color: var(--light-blue);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--dark-blue);
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-grey);
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-black-color);
    word-break: break-word;
}

.detail-value a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.detail-value a:hover {
    color: var(--bg-blue);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-grey);
    padding: 0.6rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.social-item:hover {
    background-color: var(--light-blue);
}

.social-item img {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

.social-item a {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.resume-file-container {
    height: 80vh;
}

.resume-frame {
    width: 100%;
    height: 96%;
    border: 1px solid var(--bg-grey);
    border-radius: 4px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .side-by-side-container {
        flex-direction: column;
    }

    .resume-side {
        flex: 0 0 100%;
        height: 500px;
        position: relative;
        margin-bottom: 2rem;
    }

    .content-side {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .candidate-header {
        flex-direction: column;
    }

    .status-badge {
        margin-top: 1rem;
        align-self: flex-start;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .actions-section {
        flex-direction: column;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
/* View Candidate Profile Page End */

/* API Doc Button */

.api_doc_button {
    text-decoration: underline;
    color: var(--bg-blue);
    font-size: var(--regular-font);
}