/* Base reset & sizing */
html {
    font-size: 16px;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

:root {
    /* Font families */
    --font-primary: 'IBM Plex Sans', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    
    /*overriding radzen properties*/
    --rz-text-font-family: IBM Plex Sans, sans-serif;
    
    /* Font sizes */
    --font-base: 0.8125rem; /* ~13px */
    --font-md: 0.9375rem; /* ~15px */
    --font-lg: 1rem; /* 16px */
    --font-xl: 1.25rem; /* 20px */
    --font-2xl: 1.5rem; /* 24px */
    --font-2xll: 1.75rem; /* 28px */
    --font-3xl: 2.1875rem; /* 35px */

    /* Font weights */
    --light: 300;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
        
    /*overriding radzen properties*/
    --rz-body-font-size: 0.8125rem;

    /* Heights */
    --line-height-base: 1.5;
    --line-height-md: 1.875;
    --line-height-heading: 1.2;
    --header-height: 5rem;
    --nav-height: 3.5rem;
    --breadcrumb-height: 3.5rem;

    /* AdPredictive color palette */
    --primary: #339999;
    --primary-hover: #077;
    --primary-disable: #7aa;
    --secondary: #cc0;
    --secondary-hover: #aa0;
    --secondary-disable: #cc9;
    --tertiary: #906;
    --tertiary-hover: #603;
    --tertiary-disable: #c99;
    --quaternary: #da0;
    --quaternary-hover: #b60;
    --quaternary-disable: #ec7;

    /*overriding radzen properties*/
    --rz-primary: #339999;
    --rz-secondary: #339999;

    /* Colors - Neutral*/
    --white: #fff;
    --black: #000;
    --light-navy: #9ab;
    --navy: #222533;
    --dark-navy: #0f0f0f;
    --lightest: #f2f2f2;
    --lighter: #e5e5e5;
    --light: #d0d0d0;
    --gray-lighter: #f6f6f6;
    --gray-light: #b5b5b5;
    --gray-medium: #777;
    --gray-dark: #555;
    --gray-darker: #333;

    /*overriding radzen properties*/
    --rz-text-color: #000;

    /* Colors - Standard alerts and notices*/
    --info: #7ab;
    --info-hover: #5b8590;
    --info-disable: #b2d5de;
    --success: #6a7;
    --success-hover: #495;
    --success-disable: #adb;
    --warning: #ed8;
    --warning-hover: #db5;
    --warning-disable: #feb;
    --danger: #d54;
    --danger-hover: #bc4848;
    --danger-disable: #e8a4a4;
    
    --text-color-base: #000;
    --text-subtle: var(--gray-darker);
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--font-base);
    font-weight: var(--regular);
    line-height: var(--line-height-base);
    color: var(--text-color-base);
    background-color: var(--white);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-accent);
    font-weight: 600;
    line-height: var(--line-height-heading);
    margin: 0 0 1rem;
}

/* Paragraphs */
p {
    margin: 0 0 1rem;
}

.btn-text {
    font-family: var(--font-accent);
    font-weight: var(--semibold);
    font-size: var(--font-md);
}

/*override native OS appearance*/
button,
input[type="submit"],
input[type="button"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
}



.message-container {
    margin-bottom: 80px; /* Adjust this based on the height of your footer to prevent overlap */
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.custom-width {
    width: 90%; /* Set to desired width */
    max-width: 400px; /* Optional: Set a maximum width */
}

/**********************************************MAIN ADDI PAGE START*/
.mainAddiContainer {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    width: 95vw;
    height: 95vh;
    padding: 15px;
    box-sizing: border-box;
    width: 100%; /* Ensure the container fits within the viewport */
    max-width: 100vw; /* Prevent overflow beyond the viewport */
    padding: 15px;
    box-sizing: border-box;
    margin-bottom:500px;
}

.clipboard-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #323232;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 2s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

/*********************************************PROFILE CARD*****************/
.green-circle, .yellow-circle, .red-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

.green-circle {
    background-color: rgba(91, 197, 91, 0.85);
}

.yellow-circle {
    background-color: rgba(255, 255, 98, 0.82);
}

.red-circle {
    background-color: rgba(248, 87, 87, 0.89);
}


.circle-text {
    margin-left: 5px;
    display: inline-block;
    vertical-align: bottom; /* Align bottom */
    font-size: 0.6em;
}

.custom-progress-bar .rz-progressbar-circle {
    stroke-width: 20 !important; /* Adjust the value to your desired thickness */
}

.profileCardImageScoreFlexBox {
    display: flex;
    align-items: center;
}

.profileCardNameText {
    display: flex;
    align-items: center;
}

.profileCardImage {
    margin-right: 10px; /* Space between image and progress bar */
}

.profileCardNameText .custom-progress-bar {
    margin-left: 10px; /* Space between name and progress bar */
}

.profileCardTitleBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 10px
}

.profileCardTitle {
    color: #262526;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    word-wrap: break-word
}

.profileCardChangeDataBtn {
    padding: 8px;
    background: white;
    border-radius: 4px;
    border: 1px #339999 solid;
    display: flex;
    align-items: center;
}

.profileCardChangeDataBtnFlexBox {
    padding-left: 8px;
    padding-right: 8px;
    display: flex;
    align-items: center;
}

.profileCardChangeDataBtnText {
    text-align: center;
    color: #339999;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word
}







.profileCardNameFlexBox {
    flex-grow: 1;
    padding: 20px;
}

.profileCardNameText {
    color: #262526;
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
}
.profileCardSummaryText {
    color: #AFAFB2;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 0.24px;
    margin-top: 8px;
}

.profileCardSummaryTextDescription {
    color: #262526;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 8px;
}
.profileCardBox {
    grid-column: span 2;
    min-height: 762px;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    height: auto;
    position: relative;
    overflow-y: auto; /* Add vertical scroll if content exceeds the height */
}

.profileCard {
    display: flex; /* Make the card a flex container */
    width: 100%;
    background: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
}

.profileCardFlexBox {
    display: flex;
    align-items: stretch; /* Stretch to container height */
    flex-direction: row;
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
    width: 100%; /* Full width */
}


.profileCardImageScoreFlexBox {
    position: relative;
    width: 150px; /* Fixed width */
    height: 100%; /* Full height of the parent */
    display: flex;
    align-items: stretch; /* Stretch to container height */
    justify-content: center;
    overflow: hidden; /* Hide overflow */
    flex-shrink: 0; /* Prevent shrinking */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
    border-radius: 0; /* Ensure no border radius */
}

.profileCardImage {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
}

.profileCardScore {
    position: absolute;
    bottom: 0;
    right: 0; /* Position the score at the bottom right */
    background-color: #CCCC00;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-top-left-radius: 10px;
    font-size: 14px; /* Adjust font size for better appearance */
    display: flex;
    align-items: center;
    justify-content: center;
}
/**************************************************PROFILE CARD END*/


/**************************************************RECOMENDATIONS BOX*/

.recommendationsBox {
    min-height: 762px;
    background: white;
    border-radius: 10px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}


.recommendationsCard {
    width: 100%;
    min-height: 108px;
    position: relative;
    background: rgba(204, 204, 0, 0.16); /*dont know why but doesnt work*/
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.recommendationsItemBox {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 13px 16px;
}

.recommendationsItemImage {
    width: 20.48px;
    height: 15.40px;
    margin-right: 16px;
}

.recommendationsItemTitle {
    color: #262526;
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
    word-wrap: break-word;
}

.recommendationsItemDescription {
    height: 40px;
    margin-left: 16px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    display: flex;
}

.recommendationsItemDescriptionFlexBox {
    align-self: stretch;
    height: 40px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}


.recommendationsItemDescriptionText {
    color: #262526;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.recommendationsItemSideDotsBox {
    width: 3px;
    left: 11px;
    top: 45px;
    position: absolute;
}

.recommendationsItemSideDots1{
    width: 3px; 
    height: 3px; 
    left: 0px; 
    top: 0px; 
    position: absolute; 
    background: linear-gradient(0deg, #CCCC00 0%, #CCCC00 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.16) 100%); 
    border-radius: 9999px;
}

.recommendationsItemSideDots2 {
    width: 3px;
    height: 3px;
    left: 0px;
    top: 7.50px;
    position: absolute;
    background: linear-gradient(0deg, #CCCC00 0%, #CCCC00 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.16) 100%);
    border-radius: 9999px;
}

.recommendationsItemSideDots3 {
    width: 3px;
    height: 3px;
    left: 0px;
    top: 15px;
    position: absolute;
    background: linear-gradient(0deg, #CCCC00 0%, #CCCC00 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.16) 100%);
    border-radius: 9999px;
}

.recommendationsTitleBox {
    color: #262526;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    word-wrap: break-word;
}

/**************************************************RECOMENDATIONS BOX END*/


/**************************************************AdBytes/Trending BOX*/

.aIToolsRecommendationsFlexBox {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.adBytesTitle {
    color: #262526;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    word-wrap: break-word;
}

.adBytesItemCard {
    width: 100%;
    max-height: 100%;
    background: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.adBytesItemBox {
    width: 100%;
    height: 100%;
    background: white;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
}

.adBytesItemImage {
    width: 20px;
    height: 20px;
    position: relative;
}

.adBytesItemContent {
    flex: 1 1 0;
    height: 68px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
    background: white;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    display: flex;
}
.adByteBox {
    width: 100%;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 370px;
    position: relative;
    overflow: hidden;
}

.adByteItemFlexBox {
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}

.trendingFlexbox {
    width: 100%;
    background: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 370px;
    position: relative;
    overflow: hidden;
}

.trendingTitle {
    color: #262526;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    word-wrap: break-word;
}

.trendingImageBox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.trendingImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.adByteItemTextBold {
    color: #4F4F50;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.adByteItemTextNormal {
    color: #4F4F50;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}
.selected {
    border: 2px solid #93014A;
}

.trendingFlexbox {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .trendingFlexbox .trendingTitle {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .trendingFlexbox .switchContainer {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }

    .trendingFlexbox .trendingItemBox {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 1rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    .trendingFlexbox .trendingItemTitle {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
    }

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

.loading-svg {
    margin-bottom: 10px;
}

.loading-text {
    font-size: 14px;
    color: #666;
}

/*MAIN ADDI PAGE END*/
/**********************************************************************************************************LOADING DECORATOR */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    z-index: 9999;
}

.loading-svg {
    width: 50px;
    height: 50px;
    animation: grow-shrink 1.5s infinite;
    margin-bottom: 20px;
}

    .loading-svg img {
        width: 100%;
        height: 100%;
    }

@keyframes grow-shrink {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.loading-text {
    font-size: 20px;
    font-weight: 700;

    color: #262526;
}

/**********************************************************************************************************LOADING DECORATOR */



/**********************************************************************************************************Details Page*/

.grid-container {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    height: 100vh;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.left-column-card, .right-column-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.radzen-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
}

.title, .section-title {
    color: #262526;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
    word-wrap: break-word;
    text-align: left;
    margin-bottom: 15px;
}

.image-summary {
    display: flex;
    gap: 15px;
}

.image-container {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.score-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #CCCC00;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-top-left-radius: 10px;
}

.summary {
    flex: 1 1 auto;
    color: #262526;
    display: flex;
    flex-direction: column;
}

.summary-title {
    color: #AFAFB2;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: 0.24px;
    word-wrap: break-word;
    margin-bottom: 10px;
}

.summary-content {
    font-size: 14px;
    line-height: 20px;
    word-wrap: break-word;
    flex: 1;
}

.attributes, .media-habits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.attribute, .habit {
    background-color: #E0F7FA;
    color: #00796B;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.adbyte-title {
    font-size: 18px;
    font-weight: 700;
    color: #262526;
    line-height: 22px;
}

.description {
    font-size: 14px;
    color: #263238;
    line-height: 18px;
    margin-top: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.radzen-tabs {
    flex: 1;
    overflow-y: auto;
}

.expected-output {
    background: #FFF9C4;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.adbyte-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adbyte-buttons {
    display: flex;
    gap: 8px; /* Adjust the gap as needed */
}

.small-button {
    font-size: 12px; /* Adjust the size as needed */
    padding: 4px 8px; /* Adjust the padding as needed */
}

.ask-addi .chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
}

.ask-addi .chat-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 5px; /* To add padding at the bottom */
}

.user-message, .addie-message {
    max-width: 80%;
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 5px; /* Adding margin between messages */
}

.user-message {
    background: #F0F0F0;
    border-top-left-radius: 0;
    margin-right: auto;
    color: #555;
}

.addie-message {
    background: #E0F7FA;
    border-top-right-radius: 0;
    margin-left: auto;
    color: #00796B;
}

.chat-input-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Adjust the gap as needed */
}

.chat-input-box {
    flex: 1; /* This makes the textbox take the remaining space */
}

@media (max-width: 1200px) {
    .grid-container

{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

}

@media (max-width: 600px) {
    .grid-container

{
    padding-left: 0;
}

}
/**********************************************************************************************************Details Page*/


.profile-menu-item {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/*******************************************************************ERROR screen*/
.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px; /* Adjust this value to move the content closer or further from the top */
    text-align: center;
}

    .center-container img {
        max-width: 100%;
        height: auto;
    }
/*******************************************************************ERROR screen*/

/****************************************************************************************************************Navbar*/
.navbar {
    position: fixed;
    left: 0;
    width: 60px;
    background-color: #092C3E;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0; /* Add padding to the top and bottom */
    margin: 20px 0; /* Add margin to the top and bottom */
    border-top-right-radius: 20px; /* Rounded top-right corner */
    border-bottom-right-radius: 20px; /* Rounded bottom-right corner */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); /* Small shadow */
    overflow: hidden;
}
.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .logo img {
        width: 30px;
        height: 30px;
    }

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    gap: 10px; /* Add space between nav items */
}

.nav-item {
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 5px 0;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    outline: none; /* Remove blue outline */
}

    .nav-item:hover {
        background-color: #93014A;
        color: white;
    }

    .nav-item.selected {
        color: #93014A;
        border: none;
    }

    .nav-item a {
        color: inherit;
        text-decoration: none;
    }

.nav-container .nav-item:nth-child(2) {
    margin-bottom: 10px; /* Add 10px space between the first two nav items */
}

.spacer {
    flex-grow: 1; /* Push the last nav item to the bottom */
}
.hidden-navbar {
    transform: translateX(-100%); /* Move the navbar out of view */
}
#showNavbarImg {
    display: none; /* Hide the toggle image by default */
}

/****************************************************************************************************************Navbar*/


/****************************************************************************************************************share modal*/


/****************************************************************************************************************chatbot*/
.chat-container {
    width: 100%;
    max-width: 100%;
    position: sticky;
    bottom: 0;
    right: 0; /* Align with the right side */
    left: 0;  /* Align with the left side */
    display: flex;
    flex-direction: column;
    margin-left: auto;
    padding: 0 10px;
    box-sizing: border-box; /* Ensures padding is included in the element's total width */
}

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    /* Adjust the chat box height to fit mobile screen */
    .chat-box {
        height: calc(100vh - 100px); /* This ensures the chat-box takes most of the screen */
        max-height: calc(100vh - 100px); /* Limits the height to fit within the screen */
    }

    /* Ensure input box fits well on mobile */
    .input-box {
        width: 100%; /* Ensure the input box takes the full width on mobile */
    }
    
    .sms-share-section {
        display: flex; /* Show button on mobile screens */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically if needed */
        width: 100%; /* Take full width of the parent container */
        text-align: center; /* Ensure button text is centered */
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
    }
}

.chat-header {
    background-color: #0f3b57;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    z-index: 10;
}

.chat-box {
    background-color: #fff;
    background: linear-gradient(135deg, #dbe4e9, #f8f8f8, #ccd2e0, #f8f8f8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: height 0.3s ease;
    height: 400px;
    overflow-y: auto; /* Added this line */
}

.collapsed {
    height: 0;
    overflow: hidden;
}

    .collapsed .messages {
        display: none;
    }

.messages {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.message {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column; /* Make sure each message has its content in a column */
}

.message-blip {
    max-width: 75%;
    padding: 10px;
    border-radius: 20px;
    word-wrap: break-word;
    position: relative;
}

.message.user .message-blip {
    background-color: #007bff;
    color: white;
    align-self: flex-end; /* Align the blip to the right */
    border-radius: 20px 20px 20px 0; /* Rounded corners */
    position: relative; /* Position the tail relative to the blip */
    padding: 10px;
    max-width: 75%;
    word-wrap: break-word;
    margin-left: auto; /* Ensure the blip stays on the right side */
}

    .message.user .message-blip::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 10px; /* Position the tail on the right side */
        transform: translateY(-50%);
        border-width: 10px 0 10px 10px; /* Adjust the border width to create the tail */
    }

.message.bot .message-blip {
    background-color: #e9e9eb;
    color: black;
    align-self: flex-start; /* Align the blip to the left */
    border-radius: 20px 20px 20px 0; /* Rounded corners */
    position: relative; /* Position the tail relative to the blip */
    padding: 10px;
    max-width: 75%;
    word-wrap: break-word;
    margin-right: auto; /* Ensure the blip stays on the left side */
    margin-bottom: 10px; /* Add space between bot messages */
}

    .message.bot .message-blip::after {
        content: '';
        position: absolute;
        top: 50%;
        left: -10px; /* Position the tail on the left side */
        transform: translateY(-50%);
        /* Ensure the tail is the same color as the blip */
    }


.input-box {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    position: relative;
    width: 100%;
    z-index: 5;
    border-radius: 0 0 10px 10px;
}

input[type="text"] {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px;
    outline: none;
}

.chatButton {
    background-color: #530027;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    font-size: 16px;
    width: 40px;
    height: 40px;
}

.chatButton :focus {
    outline: none;
}

.chatButton :hover {
    background-color: #0056b3;
}

/* CHAT LOADING ANIMATION  */
.typingIndicatorContainer {
    display: flex;
    flex: none;
    align-items: flex-end;
}

.typingIndicatorBubble {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 40px;
    margin: 0px 8px;
    background-color: #f0f1f1;
    border-radius: 12px;
}

.typingIndicatorBubbleDot {
    width: 4px;
    height: 4px;
    margin-right: 4px;
    background-color: #57585a;
    border-radius: 50%;
    animation-name: bounce;
    animation-duration: 1.3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

    .typingIndicatorBubbleDot:first-of-type {
        margin: 0px 4px;
    }

    .typingIndicatorBubbleDot:nth-of-type(2) {
        animation-delay: 0.15s;
    }

    .typingIndicatorBubbleDot:nth-of-type(3) {
        animation-delay: 0.3s;
    }

@keyframes bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-4px);
    }
}

.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.custom-file-upload:hover {
    background-color: #0056b3;
}

