/* HELLO_GAURAV_123456 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hidden {
    display: none !important;
}

body {

    margin: 0;

    padding: 0;

    font-family: "Segoe UI", sans-serif;

    background: transparent;

    color: white;

}


/* ================================= */
/* FLOATING CHAT WIDGET */
/* ================================= */

.chat-widget {

    position: fixed;

    bottom: 24px;

    right: 24px;

    z-index: 9999;

    display: none;

}

.chat-widget.open {

    display: block;

}

.chat-toggle {

    position: fixed;

    bottom: 24px;

    right: 24px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    border: none;

    background: #1a73e8;

    color: white;

    font-size: 26px;

    cursor: pointer;

    z-index: 10000;

}

/* ================================= */
/* CHAT CONTAINER */
/* ================================= */

.chat-container {

    width: 600px;

    height: 80vh;

    max-height: 700px;

    min-height: 550px;

    background: #09132d;

    border-radius: 28px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border: 1px solid rgba(255,
            255,
            255,
            .06);

    box-shadow:
        0 20px 70px rgba(0, 0, 0, .55);
}

/* ================================= */
/* HEADER */
/* ================================= */

.chat-header {

    height: 78px;

    padding: 16px 22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom:
        1px solid rgba(255,
            255,
            255,
            .05);
}

.logo-section {

    display: flex;

    align-items: center;

    gap: 14px;
}

.logo-box {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.logo-img {

    width: 55px;

    height: 55px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 8px rgba(46,
                200,
                255,
                .35));
}

.logo-section h2 {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 4px;
}

.logo-section span {

    color: #a8b3c7;

    font-size: 13px;
}

/* ================================= */
/* ONLINE */
/* ================================= */

.online-status {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #c7d0df;

    font-size: 15px;
}

.dot {

    width: 11px;

    height: 11px;

    border-radius: 50%;

    background: #17d46f;

    box-shadow:
        0 0 10px rgba(23,
            212,
            111,
            .8);
}

/* ================================= */
/* CHAT */
/* ================================= */

.chat-box {

    flex: 1;

    overflow-y: auto;

    min-height: 0;

    padding: 20px;

    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* ================================= */
/* BOT */
/* ================================= */

.bot-message ul {
    margin-top: 8px;
    padding-left: 18px;
}

.bot-message li {
    margin-bottom: 6px;
}


/* ================================= */
/* WELCOME TAG */
/* ================================= */

.welcome-tag {

    display: inline-block;

    margin-top: 6px;

    padding: 6px 12px;

    border-radius: 20px;

    background:
        rgba(46,
            200,
            255,
            .15);

    color: #2ec8ff;

    font-size: 12px;

    font-weight: 600;
}




.typing {

    display: flex;

    gap: 6px;

    align-items: center;
}

.typing span {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #2ec8ff;

    animation: blink 1.2s infinite;
}

.typing span:nth-child(2) {

    animation-delay: .2s;
}

.typing span:nth-child(3) {

    animation-delay: .4s;
}

@keyframes blink {

    0% {
        opacity: .2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}





/* ================================= */
/* INPUT */
/* ================================= */

.input-area {

    padding: 14px;

    display: flex;

    gap: 12px;

    border-top:
        1px solid rgba(255,
            255,
            255,
            .05);
}

textarea {

    flex: 1;

    resize: none;

    border: none;

    outline: none;

    background: #18264d;

    color: white;

    padding: 14px;

    border-radius: 16px;

    height: 52px;

    font-size: 15px;
}

textarea::placeholder {

    color: #8fa1bf;
}

#send-btn {

    width: 48px;

    height: 48px;

    border: none;

    cursor: pointer;

    border-radius: 50%;

    font-size: 18px;

    color: white;

    background:
        linear-gradient(135deg,
            #2ec8ff,
            #189eff);

    transition: .2s;
}

#send-btn:hover {

    transform: scale(1.06);
}



/* ========================= */
/* SMALLER CHATBOT */
/* ========================= */

.chat-container {

    width: 460px;

    height: 570px;

    backdrop-filter: blur(20px);
}

/* ========================= */
/* WELCOME CARD */
/* ========================= */

.welcome-card {

    background: #18264d;

    padding: 20px;

    border-radius: 20px;

    text-align: center;

    animation: fadeIn .4s ease;
}

.welcome-icon {

    font-size: 36px;

    margin-bottom: 10px;
}

.welcome-card h3 {

    margin-bottom: 10px;

    font-size: 20px;
}

.welcome-card p {

    color: #b6c0d4;

    line-height: 1.6;

    margin-bottom: 14px;
}

/* ========================= */
/* BOT MESSAGE */
/* ========================= */

.bot-message {

    background: #18264d;

    padding: 16px;

    border-radius: 18px;

    max-width: 85%;

    line-height: 1.7;

    animation: fadeIn .25s ease;
}

/* ========================= */
/* USER MESSAGE */
/* ========================= */

.user-message {

    background:
        linear-gradient(135deg,
            #2ec8ff,
            #189eff);

    padding: 16px;

    border-radius: 18px;

    max-width: 85%;

    margin-left: auto;

    line-height: 1.6;

    animation: fadeIn .25s ease;
}

/* ========================= */
/* FEEDBACK */
/* ========================= */

/* ========================= */
/* SCROLLBAR */
/* ========================= */

.chat-box::-webkit-scrollbar {

    width: 6px;
}

.chat-box::-webkit-scrollbar-thumb {

    background: #2ec8ff;

    border-radius: 20px;
}

/* ========================= */
/* ANIMATION */
/* ========================= */

@keyframes fadeIn {

    from {

        opacity: 0;
        transform: translateY(10px);
    }

    to {

        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:600px) {

    .chat-container {

        width: 95vw;
        height: 90vh;
    }
}


.feedback {

    margin-top: 12px;

    display: flex;

    gap: 10px;
}

.feedback-btn {

    border: none;

    cursor: pointer;

    padding: 8px 14px;

    border-radius: 12px;

    background:
        rgba(255,
            255,
            255,
            0.08);

    color: white;

    font-size: 12px;

    transition: 0.2s;
}

.feedback-btn:hover {

    background:
        rgba(46,
            200,
            255,
            0.20);

    transform:
        translateY(-1px);
}

.feedback-thanks {

    color: #2ec8ff;

    font-size: 12px;

    font-weight: 600;
}

/* ========================= */
/* SUGGESTIONS               */
/* ========================= */

.suggestions-container {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 5px;

    margin-bottom: 10px;

    animation: fadeIn .25s ease;
}

.suggestion-btn {

    background: transparent;

    border: 1px solid #2ec8ff;

    color: #2ec8ff;

    border-radius: 18px;

    padding: 12px 18px;

    font-size: 14px;

    cursor: pointer;

    text-align: center;

    transition: all 0.2s ease;
}

.suggestion-btn:hover {

    background: rgba(46, 200, 255, 0.1);

    transform: translateY(-1px);
}

/* ========================= */
/* SHOW MORE TOGGLE          */
/* ========================= */

.message-text-content {
    transition: max-height 0.3s ease;
}

.message-text-content.collapsed {
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.message-text-content.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #18264d);
}

.show-more-toggle {
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    transition: 0.2s;
}

.show-more-toggle.outlined {
    background: transparent;
    color: #1a73e8;
    border: 1px solid #1a73e8;
}

.show-more-toggle:hover {
    filter: brightness(1.1);
}



.portal-action {
    margin-top: 14px;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    border-radius: 12px;

    text-decoration: none;

    background: #2ea8ff;

    color: white;

    font-weight: 600;

    transition: 0.2s ease;
}

.portal-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}



/* ==========================
   LOGIN MODAL
========================== */

.login-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    background: rgba(2,
            6,
            23,
            0.75);

    backdrop-filter: blur(12px);
}

/* Show modal */

.login-modal.active {

    display: flex;
}

.login-card {

    position: relative;

    width: 100%;

    max-width: 460px;

    background: #f8fafc;

    border-radius: 24px;

    padding: 40px;

    box-shadow:
        0 25px 60px rgba(0,
            0,
            0,
            0.35);

    animation: modalPop .25s ease;
}

/* ==========================
   CLOSE BUTTON
========================== */

.close-modal {

    position: absolute;

    top: 16px;

    right: 18px;

    border: none;

    background: transparent;

    font-size: 18px;

    opacity: 0.7;

    cursor: pointer;

    color: #6b7280;
}

.close-modal:hover {

    color: #111827;
}

/* ==========================
   HEADER
========================== */

.login-header {

    text-align: center;

    margin-bottom: 30px;
}

.login-logo {

    width: 100px;

    display: block;

    margin: 0 auto 18px;
}

.login-header h2 {

    font-size: 32px;

    font-weight: 700;

    color: #1f2937;

    margin-bottom: 10px;
}

.login-header p {

    font-size: 16px;

    color: #6b7280;
}

/* ==========================
   FORM
========================== */

.login-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.login-form label {

    color: #334155;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: -8px;
}

.login-form input {

    width: 100%;

    height: 58px;

    background: white;

    border: 1px solid #d6dce5;

    border-radius: 12px;

    padding: 0 16px;

    font-size: 16px;

    color: #1f2937;
}

.login-form input:focus {

    border-color: #20b8d4;

    box-shadow:
        0 0 0 4px rgba(32,
            184,
            212,
            0.15);
}

/* ==========================
   LOGIN BUTTON
========================== */

.login-btn {

    margin-top: 8px;

    width: 100%;

    height: 64px;

    border: none;

    border-radius: 50px;

    background: #17b6d5;

    color: white;

    font-size: 22px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s ease;
}

.login-btn:hover {

    transform: translateY(-1px);

    background: #0ea5c0;
}

/* ==========================
   FORGOT PASSWORD
========================== */

.forgot-password {

    text-align: center;

    margin-top: 20px;
}

.forgot-password a {

    color: #0ea5c0;

    text-decoration: none;

    font-size: 18px;

    font-weight: 500;
}

.forgot-password a:hover {

    text-decoration: underline;
}

/* ==========================
   ANIMATION
========================== */

@keyframes modalPop {

    from {

        opacity: 0;

        transform:
            translateY(30px) scale(.92);
    }

    to {

        opacity: 1;

        transform:
            translateY(0) scale(1);
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .login-card {

        width: 92%;

        padding: 30px 24px;
    }

    .login-logo {

        width: 90px;
    }

    .login-header h2 {

        font-size: 26px;
    }

    .login-btn {

        font-size: 18px;
    }
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logout-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s;
}

.logout-btn:hover {
    background: #dc2626;
}


.portal-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.portal-link:hover {
    opacity: 0.9;
}


.projects-container-white {
    background: #070545;
    border-radius: 12px;
    padding: 16px;
    color: #111827;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", sans-serif;
}

.projects-overview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.projects-overview-icon {
    width: 36px;
    height: 36px;
    background: #f3f0ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-overview-text h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.projects-overview-text p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #6b7280;
}

.project-card-white {
    border: 1px solid #e5e7eb;
    border-left: 4px solid #6d4eff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.project-header-white {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.project-icon-white {
    width: 28px;
    height: 28px;
    background: #7c3aed;
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.project-title-white {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.project-info-white {
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.info-row-white {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 12px;
}

.info-row-white.no-border {
    border-bottom: none;
}

.info-label-white {
    flex: 0 0 100px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-val-white {
    flex: 1;
    color: #111827;
    font-weight: 500;
    display: flex;
    gap: 20px;
}

.colon {
    color: #9ca3af;
}

.stage-val {
    color: #3b82f6;
}

.project-btn-wide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    background: linear-gradient(90deg, #4f46e5, #6d4eff);
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
    border: none;
}

.project-btn-wide:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.portal-card {
    margin-top: 12px;
    border-radius: 12px;
    padding: 16px;
    background: #29355C;
    cursor: pointer;
    transition: .2s;
    border: 1px solid rgba(255, 255, 255, .08);
}

.portal-card:hover {
    transform: translateY(-2px);
    background: #34406D;
}

.portal-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.portal-subtitle {
    margin-top: 5px;
    color: #B9C4E3;
    font-size: 13px;
}

/* ==========================================
   WORKER PROFILE CARD
========================================== */

.worker-profile-card {

    max-width: 520px;

    margin: auto;

}

.worker-profile-body {

    padding: 16px;

}

.worker-profile-row {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 6px;

    padding: 14px 0;

    border-bottom: 1px solid #eef2f7;

}

.worker-profile-row:last-child {

    border-bottom: none;

}

.worker-profile-label {

    color: #64748b;

    font-size: 13px;

    font-weight: 600;

}

.worker-profile-value {

    color: #111827;

    font-size: 16px;

    font-weight: 700;

    width: 100%;

    word-break: break-word;

    overflow-wrap: anywhere;

    line-height: 1.5;

}

.worker-profile-note {

    margin: 18px 16px 0;

    padding: 14px;

    border-radius: 10px;

    background: #f8fafc;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;

}

/* ================================= */
/* CHAT WIDGET DEFAULT STATE */
/* ================================= */


.close-chat-btn {

    background: transparent;

    border: none;

    color: white;

    font-size: 20px;

    cursor: pointer;

}