﻿body {
    background-color: #f9fafb;
    font-family: 'Segoe UI', sans-serif;
    padding:0px;
    margin:0px;

}

/* Fixed Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1050;
    /*    padding: 10px 20px;*/
    padding-left: 20px;
    padding-right: 20px;
}

.welcome-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #121224;
}

.toggle-button {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: #744fc9;
}

.notification-icon {
    position: relative;
    display: inline-block;
}

    .notification-icon i {
        color: #f7941d;
        font-size: 1.4rem;
        cursor: pointer;
    }

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #fff; /* red badge */
    color: #6e1f77;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    line-height: 1;
}


.profile-dropdown {
    position: relative;
}

/*.profile-btn {
    background: transparent;
    border: none;
    font-weight: 600;
    color: #f7941d;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 1rem;
}*/
.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #121224;
    cursor: pointer;
}

    .profile-btn .avatar {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid #f7941d;
        /* optional: nice border */
        /*        border:1px solid black;*/
        transition: transform 0.3s;
    }

        .profile-btn .avatar:hover {
            transform: scale(1.1);
        }

    .profile-btn i.fa-chevron-down {
        font-size: 0.85rem;
        color: #555;
    }


.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 150px;
    padding: 8px 0;
}

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu a {
        display: block;
        padding: 8px 15px;
        color: #333;
        text-decoration: none;
        transition: background 0.3s;
    }

        .dropdown-menu a:hover {
            background: #f5f5f5;
        }

    /* Show dropdown */
    .dropdown-menu.show {
        display: block;
    }

/* Sidebar adjustments */
.sidebar {
    background: #fdf9f4;
    height: 100vh;
    position: fixed;
    top: 60px; /* below header */
    left: 0;
    width: 220px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

    .sidebar.show {
        transform: translateX(0);
    }

.main-content {
    margin-top: 60px; /* space for fixed header */
    margin-left: 0;
    padding: 1rem;
    transition: margin-left 0.3s ease;
}

/* When sidebar visible on desktop */
@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0);
        top: 60px;
    }

    .main-content {
        margin-left: 220px;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .fixed-header .welcome-text {
        font-size: 1rem;
    }

    .profile-btn {
        font-size: 0.9rem;
    }
}


.sidebar a {
    text-decoration: none;
    color: #6e1f77;
    display: block;
    padding: 15px;
    border-radius: 8px;
    margin: 5px 10px;
    transition: background 0.3s;
    font-weight: bold;
}


    .sidebar a:hover img {
        background-color: transparent !important;
    }

.sidebar img {
    width: 100px;
}

.jobseeker-profile-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    width: 70px;
}

.card-custom {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .card-custom h6 {
        margin-top: 10px;
    }

.jobs-part h5 {
    padding-bottom: 10px;
}

.card-custom:hover {
    transform: translateY(-4px);
}

.match-tag {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 10px;
}

.match-95 {
    background-color: #0dcaf0;
    color: white;
}

.match-98 {
    background-color: #007aff;
    color: white;
}

.progress-bar {
    background-color: #6e1f77;
}

.circle-chart {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#f7941d 0% 78%, #e5e7eb 78%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #111827;
    margin: 0 auto;
    transition: transform 0.3s;
}

    .circle-chart:hover {
        transform: scale(1.1);
    }

.progress-steps {
    height: 8px;
    border-radius: 4px;
    background-color: #e5e7eb;
    overflow: hidden;
    display: flex;
    margin-top: 10px;
}

    .progress-steps div {
        height: 100%;
    }

.step-viewed {
    width: 33%;
    background-color: #666;
}

.step-applied {
    width: 33%;
    background-color: #007aff;
}

.step-saved {
    width: 34%;
    background-color: #0dcaf0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    display: none;
}

    .overlay.show {
        display: block;
    }

.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#motivational-quote {
    background: #f7941d;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 1s ease;
}

/*@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0);
        position: fixed;
        width: 220px;
        height: 100vh;
    }

    .main-content {
        margin-left: 220px;
    }
}*/
@media (min-width: 768px) {
    /* Sidebar stays visible on desktop */
    .sidebar {
        transform: translateX(0);
        position: fixed;
        top: 60px;
        width: 220px;
        height: calc(100vh - 60px);
    }

    /* Main content shifts right for sidebar */
    .main-content {
        margin-left: 220px;
        min-height: 100vh;
        /*padding-bottom: 100px;*/ /* room for footer */
    }

    /* Page structure */
    .page-content,
    .page-wrapper {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* Footer pushed away from under sidebar */
    footer.site-footer {
        margin-left: 220px;
    }
}
/*dashboard-footer-design-start*/
/* Footer Styling */
footer.site-footer {
    background: #fff; /* dark navy */
    color: #6e1f77;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: "Segoe UI", Arial, sans-serif;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    bottom: 0;
    width: calc(100% - 220px); /* leaves space for sidebar */
    margin-left: 220px; /* matches sidebar width */
    text-align: center;
}

/* Footer Inner Flex */
.dashboard-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* in case text is long */
}

    .dashboard-footer p {
        margin: 0;
        line-height: 1.6;
    }

    .dashboard-footer span {
        color: #f7941d;
        font-weight: 600;
    }

        .dashboard-footer span:hover {
            color: #0d6efd;
            transition: 0.3s;
        }

/* Mobile Responsive: sidebar collapses, footer becomes full width */
@media (max-width: 768px) {
    footer.site-footer {
        width: 100%;
        margin-left: 0;
        font-size: 12px;
        padding: 12px;
    }
}

/*dashboard-footer-design-end*/
@media (max-width: 767px) {
    /* Smaller text on mobile */
    .fixed-header .welcome-text {
        font-size: 1rem;
    }

    .profile-btn {
        font-size: 0.9rem;
    }

    /* Main content full width on mobile */
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
}


@media (max-width: 767px) {


    .card-custom {
        padding: 15px;
    }
}


/*application-card start*/
/* Dashboard Card Container */
.dashboard-card {
    background: #fdf9f4;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%; /* Make all cards equal height */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

    .dashboard-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }

/* Icon Styling */
.dashboard-icon {
    font-size: 1.8rem;
}

/* Text Styling */
.dashboard-text h5 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #121224;
}

.dashboard-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .dashboard-card {
        flex-direction: row;
        gap: 10px;
        padding: 14px;
    }

    .dashboard-icon {
        font-size: 1.5rem;
    }

    .dashboard-text h5 {
        font-size: 0.95rem;
    }

    .dashboard-text p {
        font-size: 0.8rem;
    }
}

/*application-card end*/

.circle {
    fill: none;
    stroke: #47b749;
    stroke-width: 3.8;
    stroke-linecap: round;
    animation: progress 1.5s ease-out forwards;
}

.percentage {
    fill: #47b749;
    font-size: 0.5em;
    text-anchor: middle;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0, 100;
    }

    100% {
        stroke-dasharray: 94, 100;
    }
}

/*Profile-design*/

.twm-candidate-profile-pic {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.photo-wrapper {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .photo-wrapper img {
        width: 120px;
        height: 120px;
        border-radius: 8px;
        border: 2px solid #ccc;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.upload-btn-wrapper {
    margin-top: 10px;
    position: relative;
}

.upload-btn-text {
    background-color: #f7941d;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.upload-btn-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.personal-details {
    flex: 1;
    min-width: 250px;
}

.user-basic-summary-container {
    margin-bottom: 12px;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #121224;
}

.user-education {
    font-size: 15px;
    color: #474d6a;
    margin: 4px 0;
}

.user-info-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.left-container,
.right-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chip-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

    .chip-summary i {
        color: #0073e6;
        font-size: 16px;
    }

.verified-icon {
    color: #28a745; /* Green verified tick */
    margin-left: 5px;
    font-size: 14px;
}

.new-pencil i {
    cursor: pointer;
    font-size: 16px;
    color: #6c757d;
    transition: color 0.2s ease;
}

    .new-pencil i:hover {
        color: #0073e6;
    }

/* Responsive Styles */

/* For tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .twm-candidate-profile-pic {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .photo-wrapper img {
        width: 100px;
        height: 100px;
    }

    .user-name {
        font-size: 18px;
    }

    .user-education {
        font-size: 14px;
    }
}

/* For small screens (below 768px) */
@media (max-width: 768px) {
    .twm-candidate-profile-pic {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .personal-details {
        text-align: center;
    }

    .user-info-container {
        flex-direction: column;
        align-items: center;
    }

    .left-container,
    .right-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .chip-summary {
        justify-content: center;
    }
}

/* For very small devices (below 480px) */
@media (max-width: 480px) {
    .photo-wrapper img {
        width: 80px;
        height: 80px;
    }

    .upload-btn-text {
        font-size: 13px;
        padding: 6px 12px;
    }

    .user-name {
        font-size: 16px;
    }

    .user-education {
        font-size: 13px;
    }

    .chip-summary {
        font-size: 13px;
    }
}
/*Saved Jobs section Page start */
.twm-jobs-list-wrap {
    max-width: 960px;
    margin: 0px auto;
    /*            padding: 15px;*/
}

@media screen and (max-width:767px) {
    .twm-jobs-list-wrap {
        margin: 0px;
        padding: 0px;
    }
}

.twm-jobs-list-wrap ul li {
    list-style: none;
}

.job-card {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .job-card:hover {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }
/* Header Section */
/* Header */
.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
}

.company-details {
    flex: 1;
    margin-left: 15px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #6e1f77;
}

.company-name,
.location {
    font-size: 14px;
    color: #555;
    margin: 3px 0;
}

.posted {
    color: #28a745;
}

/* Save button */
.save-btn {
    background: #f4f4f4;
    border: none;
    font-size: 18px;
    color: #007bff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .save-btn:hover {
        background-color: #007bff;
        color: #fff;
    }

@media screen and (max-width:767px) {
    .save-btn {
        display: none;
    }
}

.save-btn-mobile {
    background: #f4f4f4;
    border: none;
    font-size: 18px;
    color: #007bff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .save-btn-mobile:hover {
        background-color: #007bff;
        color: #fff;
    }

@media screen and (min-width:767px) {
    .save-btn-mobile {
        display: none;
    }
}
/* Meta Section */
.job-meta {
    margin-top: 15px;
    font-size: 14px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Skills Section */
.job-skills {
    margin-top: 15px;
}

    .job-skills strong {
        color: #333;
        font-size: 14px;
    }

    .job-skills ul {
        list-style: none;
        padding: 0;
        margin-top: 6px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .job-skills li {
        background: #f0f0f0;
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 13px;
        color: #f7941d;
        /*                color: #333;*/
        transition: background 0.3s ease;
    }

        .job-skills li:hover {
            background-color: #e1ecf4;
            color: #0056b3;
        }

/* Footer */
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.apply-before {
    font-size: 13px;
    color: #666;
}

.apply-btn {
    background-color: #f7941d;
    color: #6e1f77;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

    .apply-btn:hover {
        background-color: #007bff;
        color: #fff;
    }

/*Saved Jobs section Page end*/


.resume-bg {
    background: #fdf9f4;
}

.popup-modal-header {
    background-color: #fdf9f4;
    border-bottom: 1px solid #ddd;
    border-top: 5px solid #f7941d
}

.modal-title-popup {
    font-weight: 600;
}

.edu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-dropdown {
    width: 100%;
    border: none;
    outline: none;
    height: 40px;
    background: transparent;
    margin-left: 15px;
}

/*chat box messenger styles start */
.chat-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.chat-users {
    width: 300px;
    background: #fff;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease-in-out; /* smooth slide */
}

.chat-search {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background: #fafafa;
    flex-shrink: 0;
}

    .chat-search .input-group {
        position: relative;
    }

    .chat-search input {
        width: 100%;
        padding: 8px 35px 8px 12px;
        border: 1px solid #ccc;
        border-radius: 20px;
    }

    .chat-search i {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
    }

.chat-filter {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background: #fafafa;
    flex-shrink: 0;
}

    .chat-filter select {
        width: 100%;
        padding: 6px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

.chat-user-list {
    flex: 1;
    overflow-y: auto;
}

.chat-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}

    .chat-user .info {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .chat-user img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .chat-user .name {
        font-weight: 500;
        font-size: 14px;
    }

    .chat-user:hover {
        background: #f0f4ff;
    }

    .chat-user.active {
        background: #e0ecff;
    }

.badge {
    background: #f7941d;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

/* Chat box */
.chat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Header */
.chat-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-user-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    background: #fafafa;
    flex-shrink: 0;
}

    .chat-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        color: #111;
    }

.back-btn {
    display: none;
    margin-right: 10px;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.chat-delete-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e4eaf3;
    color: #f7941d;
    transition: 0.3s;
    text-decoration: none;
}

    .chat-delete-icon:hover {
        background: #f7941d;
        color: #fff;
    }

/* Messages */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f0f0f0;
}

.msg {
    margin-bottom: 14px;
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
    word-wrap: break-word;
}

    .msg .time {
        display: block;
        font-size: 11px;
        color: rgba(0,0,0,0.5);
        margin-top: 4px;
        text-align: right;
    }

    .msg.left {
        background: #ffffff;
        border: 1px solid #ddd;
        border-top-left-radius: 0;
        margin-right: auto;
    }

    .msg.right {
        background: #fdf9f4;
        border: 1px solid #ddd;
        border-top-right-radius: 0;
        margin-left: auto;
    }

/* Input */
.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    flex-shrink: 0;
}

    .chat-input textarea {
        flex: 1;
        border: 1px solid #ccc;
        border-radius: 20px;
        padding: 10px;
        resize: none;
        height: 40px;
    }

    .chat-input button {
        background: #007bff;
        border: none;
        color: #fff;
        margin-left: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

/* Responsive */
@media (max-width: 768px) {
    .chat-container {
        flex-direction: column;
    }

    .chat-users {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 2;
        transform: translateX(0);
    }

        .chat-users.hide {
            transform: translateX(-100%);
        }

    .back-btn {
        display: inline-block;
    }
}

.input-search-bar {
    max-width: 82%;
}
/*chat box messenger styles end*/

