/*@import url('https://cdnjs.cloudflare.com/ajax/libs/open-iconic/1.1.1/font/css/open-iconic-bootstrap.min.css');*/
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
   /* overflow: hidden;*/
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}


    body::-webkit-scrollbar {
        width: 8px;
    }

    body::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    body::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 4px;
    }

        body::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title.title-secondary {
    padding-top: 0.313rem;
    padding-bottom: 0;
    color: var(--bs-secondary-color);
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.or {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.3125rem 0;
}

.or .or-line {
    border-bottom: 1px solid var(--bs-body-color);
    width: 100%;
    opacity: 0.2;
}

.or .or-text {
    padding: 0 0.625rem 0px 0.625rem;
    font-size: 0.75rem;
    line-height: 1.125rem;
    color: var(--bs-body-color);
    opacity: 0.7;
}

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}
.proposal-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

    .proposal-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
        cursor: pointer;
    }

.status-badge {
    font-size: 0.75rem;
    padding: 0.3em 0.75em;
    border-radius: 12px;
    font-weight: 500;
}

.proposal-zones-btn {
    background-color: #7b2cbf !important;
    color: white !important;
    border: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

    .proposal-zones-btn:hover {
        box-shadow: 0 4px 12px rgba(123, 44, 191, 0.4);
        transform: translateY(-1px);
    }


.enhanced-proposal-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .enhanced-proposal-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        cursor: pointer;
    }

.status-chip {
    padding: 0.25em 0.75em;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active {
    background-color: #e0f7e9;
    color: #28a745;
}

.status-planning {
    background-color: #fff3cd;
    color: #856404;
}

.status-completed {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.zone-chip {
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
}

.view-zones-btn {
    background-color: #f3f4f6;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #333;
    font-weight: 600;
    transition: all 0.25s ease;
}

    .view-zones-btn:hover {
        background-color: #007bff;
        color: #fff;
        border-color: #007bff;
    }
.proposal-image-thumbnail {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}
h5 {
    margin-bottom: 1rem;
    font-weight: bold;
}

section {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-purple {
    background: linear-gradient(to bottom, #7b2cbf, #2a0845);
    color: white;
}

    .sidebar-purple .nav-link {
        color: white;
        padding: 10px 12px;
        font-weight: 500;
    }

        .sidebar-purple .nav-link:hover,
        .sidebar-purple .nav-link.active {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
        }

.sidebar-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
}
.sidebar {
    background-color: #f8f9fa;
    height: 100vh;
    transition: width 0.3s;
    overflow: hidden;
}

    .sidebar.expanded {
        width: 240px;
    }

    .sidebar.collapsed {
        width: 60px;
    }

    .sidebar .nav-link {
        display: flex;
        align-items: center;
        padding: 10px 15px;
    }

        .sidebar .nav-link i {
            font-size: 1.2rem;
        }

        .sidebar .nav-link span {
            white-space: nowrap;
        }

.sidebar-header {
    display: flex;
    align-items: center;
    height: 60px;
}

.profile-indicator {
    position: relative;
}

.avatar-btn {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.avatar, .avatar-lg {
    display: inline-block;
    border-radius: 9999px;
    object-fit: cover;
    background: #f3f4f6;
    color: #374151;
    font-weight: 700;
    text-align: center;
}

.avatar {
    width: 36px;
    height: 36px;
}

.avatar-lg {
    width: 64px;
    height: 64px;
}

.initials {
    display: grid;
    place-items: center;
}
.topbar {
    position: sticky;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

    .topbar .spacer {
        flex: 1;
    }

/* Root now stacks avatar + label vertically, still keeps menu positioned right */
.pi-root {
    position: relative;
    z-index: 1000;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.pi-avatar-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
}

.pi-avatar, .pi-avatar-lg {
    border-radius: 9999px;
    object-fit: cover;
    display: grid;
    place-items: center;
    background: #f3f4f6;
    color: #374151;
    font-weight: 700;
}

.pi-avatar {
    width: 38px;
    height: 38px;
}

.pi-avatar-lg {
    width: 64px;
    height: 64px;
}

.pi-initials {
    font-size: .9rem;
}

.pi-menu {
    position: absolute;
    right: 0;
    top: 46px;
    width: 320px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 20px 40px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.06);
    display: none;
}

.pi-root.open .pi-menu {
    display: block;
}

.pi-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.pi-name {
    font-weight: 700;
    color: #111827;
}

.pi-email {
    font-size: .85rem;
    color: #6b7280;
    word-break: break-all;
}

.pi-actions {
    margin-top: 8px;
    display: grid;
}

.pi-btn-primary, .pi-btn-secondary {
    height: 36px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
}

.pi-btn-primary {
    background: #6d4aff;
    color: #fff;
}

.pi-btn-secondary {
    background: #eef2ff;
    color: #4438ca;
}

.pi-btn-primary:hover {
    filter: brightness(.95);
}

.pi-btn-secondary:hover {
    filter: brightness(.96);
}



.pi-namechip {
    margin-top: 4px;
    font-size: .78rem;
    line-height: 1;
    color: #6b7280; /* gray-500 */
    max-width: 140px; /* prevent pushing layout */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

    .pi-namechip.hidden {
        display: none;
    }

/* Optional: don’t show name on narrow screens */
@media (max-width: 640px) {
    .pi-namechip {
        display: none;
    }
}


@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

