.unverified {
    color: #cccccc !important;
    position: absolute !important;
    top: 20px !important;
    right: 0 !important;
    left: auto !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

ul.avatars-2 {
    margin-left: 0;
}

.project-author {
    border: 0px !important;
    position: absolute !important;
    width: 100px !important;
}

.verified {
    color: #73e6a1 !important;
    position: absolute !important;
    top: 20px !important;
    left: auto !important;
    right: 0 !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

.sm-unverified {
    color: #cccccc !important;
    position: absolute;
    top: 0px !important;
    left: 30px !important;
    cursor: pointer !important;
}

.sm-unverified .material-icons {
    font-size: 12px;
}

.sm-verified {
    color: #73e6a1 !important;
    color: #cccccc !important;
    position: absolute;
    top: 0px !important;
    left: 30px !important;
    cursor: pointer !important;
}

.sm-verified .material-icons {
    font-size: 12px !important;
}

.id-avatar {
    width: 6rem;
    border-radius: 100%;
    text-align: center;
    background-color: #BEFFAE;
    font-size: 28px;
    position: relative;
    max-height: 6rem;
}

.id-avatar span {
    line-height: 6rem;
    color: #fff;
    font-weight: bolder;
}

.id-avatar i {
    position: absolute;
    top: 16px;
    right: -18px;
    color: #cccccc !important;
    border-radius: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 15px;
    padding: 2px;
    vertical-align: middle !important;
}

.id-avatar-big {
    width: 12rem;
    /* Base size for desktop */
    height: 12rem;
    /* Ensure the avatar is a perfect circle */
    border-radius: 100%;
    text-align: center;
    background-color: #BEFFAE;
    font-size: 2em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* Center the avatar */
}

.id-avatar-big span {
    color: #fff;
    font-weight: bolder;
    font-size: 2em;
    line-height: 1;
    /* Reset line-height for better alignment */
}

.id-avatar-big i {
    position: absolute;
    top: 1rem;
    /* Relative to font size */
    right: 0rem;
    /* Relative to font size */
    color: #cccccc !important;
    border-radius: 100%;
    text-align: center;
    font-size: 1.5rem;
    /* Relative to parent font size */
    line-height: 1.5rem;
    /* Match font size for vertical alignment */
    padding: 0.5rem;
    /* Relative padding */
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    /* Tablet and smaller screens */
    .id-avatar-big {
        width: 8rem;
        height: 8rem;
        font-size: 1.5em;
    }

    .id-avatar-big i {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1rem;
        line-height: 1rem;
        padding: 0.25rem;
    }
}

@media (max-width: 480px) {

    /* Mobile screens */
    .id-avatar-big {
        width: 6rem;
        height: 4rem;
        font-size: 0.8em;
    }

    .id-avatar-big i {
        top: 0rem;
        right: 0rem;
        font-size: 0.8rem;
        line-height: 0.8rem;
        padding: 0.2rem;
    }
}

.icon-x:before {
    content: "\ea12";
}

#chat-area {
    background-color: #f8f9fa;
}

.chat-container {
    border: 1px solid #dee2e6;
}

.contacts-container {
    border-right: 1px solid #dee2e6;
}

.contacts-header,
.chat-header {
    height: 70px;
    border-bottom: 1px solid #dee2e6;
}

.contacts-body {
    overflow-y: auto;
}

.contact-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-item:hover {
    background-color: #f8f9fa;
}

.contact-item.active {
    background-color: #e9ecef;
}

.chat-body {
    height: 500px;
    overflow-y: auto;
    background-color: #f8f9fa;
}

.chat-footer {
    height: 100px;
    border-top: 1px solid #dee2e6;
    padding: 10px 15px;
}

.message {
    margin-bottom: 15px;
}

.message-received {
    background-color: #ffffff; 
    border-radius: 15px 15px 0 15px;
}

.message-sent {
    background-color: #d1e7ff;
    border-radius: 15px 15px 15px 0;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-container a {
    display: block;
    text-decoration: none;
}

.avatar-container a:hover {
    opacity: 0.9;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    top: 0;
    /* Changed from bottom to top */
    right: 0;
    width: 4px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    z-index: 1;
}

.search-input {
    border-radius: 20px;
    background-color: #f1f3f4;
    border: none;
}

.search-input:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.message-input {
    border-radius: 20px;
    resize: none;
    padding-right: 90px;
}

.message-input-container {
    position: relative;
}

.message-actions {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.online-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #28a745;
    display: inline-block;
    margin-right: 5px;
}

.offline-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6c757d;
    display: inline-block;
    margin-right: 5px;
}

.dropdown-menu {
    min-width: 10rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.user-name {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}

.user-name:hover {
    color: #007bff;
    text-decoration: none;
}

.profile-link {
    color: inherit;
    text-decoration: none;
}

.profile-link:hover {
    text-decoration: none;
}


.avatar-initials {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #BEFFAE;
    /* Green background */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.avatar-initials a {
    color: white;
    text-decoration: none;
}

.avatar-initials a:hover {
    opacity: 0.8;
}

.message-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 5px;
}

.message-file {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5px;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #6c757d;
}

.file-info {
    flex-grow: 1;
    overflow: hidden;
}

.file-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.file-size {
    font-size: 12px;
    color: #6c757d;
}

.file-actions {
    margin-left: 10px;
}

.image-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ir-pr-box .avatar-initials{
    background-color: #8DAEE8 !important;
    border: 2px solid #fff;
}
.ir-pr-box .avatar-initials a{
    color: #fff !important;
}
.ir-pr-box .verified-badge{
    left: 42px;
}

.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }
  
  .cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
  }
  
  .cookie-settings-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .custom-switch-lg .custom-control-label {
    padding-left: 15px;
    padding-top: 5px;
  }
  
  .custom-switch-lg .custom-control-label::before {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
  }
  
  .custom-switch-lg .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: 50%;
  }
  
  .custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1.5rem);
  }
  
  .cookie-category {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 15px;
    margin-bottom: 15px;
  }

gmp-place-autocomplete {
    --gmp-color-on-surface: #334155;
    --gmp-color-on-surface-variant: #64748b;
    --gmp-color-surface: #ffffff;
    --gmp-color-outline: #cbd5e1;
    --gmp-color-primary: #3b82f6;
    --gmp-border-color: #3b82f6;
    --gmp-font-family: "Inter", sans-serif;
    width: 100%;
    max-width: 500px;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.widget-container{
    border-color: #cbd5e1 !important;
}

.el-tabs {
    --el-tabs-header-height: 100% !important;
}


/* Sticky Nav Menu container */
.side-menu {
    position: fixed;
    left: 0;
    top: 50px;
    height: 100vh;
    width: 80px;
    background-color: #ffffff;
    color: white;
    z-index: 2;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #D3CFCF;
}

/* Hidden state */
.side-menu.hidden {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
}

/* Expanded state */
.side-menu.expanded {
    width: 250px;
}

/* Toggle button */
.menu-toggle {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.menu-toggle:hover {
    background-color: #f5f5f5;
}

.menu-toggle svg {
    font-size: 24px;
    transition: transform 0.3s ease;
    color: #000000;
}

.side-menu.expanded .menu-toggle svg {
    transform: rotate(180deg);
}

/* Menu items */
.menu-items {
    flex-grow: 1;
    overflow-y: auto;
    padding-top: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
    color: #000000;
}

.menu-item:hover {
    background-color: #f5f5f5;
}

.menu-item svg {
    font-size: 24px;
    min-width: 40px;
    text-align: center;
    margin-right: 10px;
    color: #000000;
}

.menu-item span {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #000000;
}

.side-menu.expanded .menu-item span,
.side-menu:hover .menu-item span {
    opacity: 1;
}

/* Show menu button */
.show-menu-button {
    position: fixed;
    left: 10px;
    top: 60px;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #D3CFCF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.show-menu-button.visible {
    opacity: 1;
    visibility: visible;
}

.show-menu-button:hover {
    background-color: #f5f5f5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .side-menu {
        width: 60px;
        top: 60px;
    }

    .side-menu.expanded {
        width: 100%;
        max-width: 300px;
    }

    .menu-toggle {
        padding: 15px;
    }

    .menu-item svg {
        font-size: 20px;
        min-width: 30px;
    }
    
    .show-menu-button {
        top: 70px;
    }
}

.app-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.app-confirm-box {
    width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 24px;
    font-family: system-ui, sans-serif;
}

.app-confirm-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-confirm-message {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.app-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.app-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.app-btn-cancel {
    background: #eee;
}

.app-btn-confirm {
    background: #2563eb;
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

.ladda-button .ladda-spinner div {
    background: #fff !important; /* white spinner */
}

.select2-container .select2-choice{
    height: 38px !important;
    line-height: 35px;
}

.menu-item svg {
    overflow: visible !important;
}