@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

html, body {
    font-family: 'Montserrat', sans-serif;
    overflow: auto;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.12px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content {
    padding-top: 1.1rem;
    height: 100%;
}

.content-modal {
    height: 100%;
}

h1:focus {
    outline: none;
}

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

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

.validation-message {
    color: #1C355E;
}

#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;
    display: none !important;
    visibility: hidden !important;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1C355E;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.date-inputs {
    display: flex;
    gap: 10px;
}

.body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: transparent;
}


.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    background-color: transparent;
}

    .logo img {
        max-width: 300px;
        height: auto;
        background-color: transparent;
    }

.underline-only {
    width: 100%;
    outline: none;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #F1F3F5;
    color: black;
    padding: 10px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    cursor: var(--underline-cursor, text); /* Default to text cursor */
}

.edit-mode .underline-only {
    --underline-cursor: text; /* Editable mode */
}

.readonly-mode .underline-only {
    --underline-cursor: not-allowed; /* Read-only mode */
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    min-height: 100%;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
}


.table-header {
    display: flex;
    justify-content: space-between;
    background-color: rgba(28, 53, 94, 1);
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

    .table-header span {
        flex: 1;
        text-align: center;
        position: relative;
        cursor: pointer;
    }

        .table-header span:not(:last-child)::after {
            content: "|";
            position: absolute;
            right: 0;
            color: white;
            padding-left: 10px;
        }

.clickable-link {
    cursor: pointer;
    color: #007bff !important;
    text-decoration: underline !important;
}

    .clickable-link:hover,
    .clickable-link:focus,
    .clickable-link:active {
        color: #0056b3 !important;
        text-decoration: underline !important;
    }


    .clickable-link:not(:hover):not(:focus):not(:active) {
        text-decoration: underline !important;
    }



.header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.match-threshold-title {
    flex: 0 0 auto;
    margin-right: 20px;
    font-size: 24px;
    font-weight: bold;
}

.slider-container {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
    justify-content: center;
    max-width: 600px;
}

.match-progress-label {
    margin-left: 10px;
    min-width: 40px;
}

.custom-slider {
    flex-grow: 1;
}

.match-threshold-slider {
    width: 100%;
    height: 8px;
}

.matching-icon-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: 20px;
}

    .matching-icon-button:disabled {
        cursor: not-allowed;
        opacity: 0.5;
        pointer-events: none;
    }

        .matching-icon-button:disabled img {
            filter: grayscale(100%);
        }

.matching-icon-group {
    display: flex;
    justify-self: end;
}

.match-threshold-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.matching-icon {
    width: 30px;
    height: 30px;
}

.title-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn-add {
    background-color: rgba(230, 238, 245, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: none;
}

.table-wrapper {
    padding: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.custom-grid .k-grid-header {
    display: none;
}

.custom-grid .k-grid-content {
    overflow: hidden;
    border-style: none;
    border-radius: 10px;
}

    .custom-grid .k-grid-content tr {
        background-color: #F1F3F5;
        text-align: center;
        border-style: none;
        font-size: 12px;
    }

        .custom-grid .k-grid-content tr:nth-child(even) {
            background-color: #ffffff;
        }

    .custom-grid .k-grid-content td {
        border: none;
        position: relative;
        padding-right: 10px;
        text-align: center;
        vertical-align: middle;
    }

        .custom-grid .k-grid-content td:not(:last-child)::after {
            content: "|";
            position: absolute;
            right: 0;
            color: #ccc;
            padding-left: 10px;
        }


    .custom-grid .k-grid-content tr:hover {
        background-color: inherit;
    }

    .custom-grid .k-grid-content tr:nth-child(even):hover {
        background-color: #ffffff;
    }


    .custom-grid .k-grid-content .clickable-link {
        cursor: pointer;
        transition: color 0.3s ease;
    }


        .custom-grid .k-grid-content .clickable-link:hover {
            color: #007bff;
        }

.underline-only-email {
    width: 100%;
    height: 90%;
    border: none;
    outline: none;
    border-radius: 0;
    margin-bottom: 20px;
    background-color: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    width: 100%;
}

.bordered-textbox {
    border: none;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.large-textbox {
    height: 150px;
    padding: 10px;
}

/* Profile styles */
.profile-container {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.profile-picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}

.name-date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 70%;
}

.social-icon {
    transition: transform 0.2s;
}

    .social-icon:hover {
        transform: scale(1.1);
    }

.button-container {
    margin-left: auto;
}

.profile-picture {
    border-radius: 50%;
    margin-right: 20px;
}

.name-date {
    display: flex;
    flex-direction: column;
}

    .name-date h2 {
        margin: 0;
        font-size: 1.5rem;
    }

    .name-date p {
        margin: 0;
        color: gray;
    }

.social-icons i {
    font-size: 1.5rem;
    margin-left: 15px;
    cursor: pointer;
}

.font-title {
    font-size: 20px;
    padding-bottom: 20px;
    padding-top: 10px;
}

.details {
    margin-top: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

    .detail-item label {
        font-weight: bold;
        color: #333;
    }

.description p {
    font-size: 14px;
    margin-top: 20px;
}

.label {
    font-size: 10px;
}

.back-button {
    background-color: rgba(230, 238, 245, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    border-radius: 50%;
}

.item {
    position: relative;
    width: 100%;
    border: none;
}
/* Additional styles */
.name-date {
    display: flex;
    flex-direction: column;
}

    .name-date h2 {
        margin: 0;
        font-size: 1.5rem;
    }

    .name-date p {
        margin: 0;
        color: gray;
    }

.social-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
}

    .social-icons i {
        font-size: 1.5rem;
        margin-left: 15px;
        cursor: pointer;
    }

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

    .detail-item label {
        font-weight: bold;
        color: #333;
    }

.description p {
    color: #333;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal {
    max-height: 90vh;
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-header {
    flex: 0 0 auto;
    padding: 1rem;
    border: none;
}

.modal-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    flex: 0 0 auto;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.modal-title-container {
    display: flex;
    flex: 1;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.btn-edit {
    background-color: rgba(230, 238, 245, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: none;
    margin-left: 10px;
}

.close-button {
    background: rgba(230, 238, 245, 0.3);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
}

.modal-buttons-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.modal-buttons {
    display: flex;
    overflow-x: hidden;
    gap: 10px;
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
}

.modal-button {
    background: #F2BC12;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.modal-body {
    height: 90%;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    margin-top: 10%;
}

.welcome-container {
    width: 870px;
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-top: 125px;
}

.welcome-text {
    font-size: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 10px;
    width: 100%;
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.form-group.full-width {
    grid-column: span 2;
    width: 100%;
}

.form-group label {
    width: 100px;
    white-space: nowrap;
    color: #333333;
    font-size: 12px;
}

.form-group.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

    .form-group.text-center .btn-primary {
        background-color: #F2BC12;
        color: white;
        border: none;
        padding: 10px 40px;
        border-radius: 10px;
        cursor: pointer;
        width: auto;
        min-width: 40px;
        text-align: center;
        font-size: 18px;
        justify-content: center;
        align-items: center;
    }

        .form-group.text-center .btn-primary:hover {
            background-color: #D4A010;
        }

.form-control-edit {
    background-color: #F1F3F5;
    border: none;
    border-radius: 8px;
    padding: 7px;
    margin-bottom:20px;
    width: 100%;
    outline: none;
    position: relative;
    padding-right: 30px;
}

.form-control-speaker {
    background-color: none;
    border: none;
    border-radius: 8px;
    width: 100%;
    outline: none;
    position: relative;
    padding-right: 30px;
}

.k-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.k-dropdown {
    flex: 1; /* Ensures it takes available space */
    min-width: 200px; /* Adjust based on your layout */
}


.custom-progress-bar {
    width: 40%;
    height: var(--kendo-progressbar-height, 8px);
    grid-template-columns: 1fr;
    grid-template-rows: 100%
}

.donation-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}

    .donation-progress-bar .current-donations {
        color: #1C355E;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .donation-progress-bar .target-donations {
        color: #1C355E;
        font-size: 1.2rem;
        font-weight: bold;
    }

.custom-progressbar {
    width: 85%;
    height: 15px;
}

    .custom-progressbar .k-progress-status {
        display: none; /* Hide the filled part of the progress bar */
    }


.custom-progressbar {
    background-color: #1C355E;
    height: 15px;
    border-radius: 10px;
}

    .custom-progressbar .k-progressbar-horizontal {
        background-color: #1C355E;
        height: 15px;
        border-radius: 10px;
    }

.form-group input.form-control-edit {
    flex: 2;
}

.funding-inputs {
    display: flex;
    gap: 10px;
}

.scroll-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.parish-edit-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.parish-header {
    background-color: #F1F3F5;
    border: none;
    border-radius: 8px;
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .parish-header .text {
        flex: 1;
    }

.buttons {
    display: flex;
    gap: 10px;
    padding-bottom: 10px;
}

.btn-icon {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

    .btn-icon telerik-button-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/*Message Center*/
.message-center-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    min-height: 100%;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
}

    .message-center-container.side-by-side {
        flex-direction: row;
    }

.message-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.message-detail-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: 20px;
}

.message-center-container.side-by-side .message-list-container {
    flex: 1;
}

.message-center-container.side-by-side .message-detail-container {
    flex: 2;
}

.message-list {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.message-center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-tabs {
    display: flex;
    gap: 20px;
}

.menu-tab {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 600;
}

    .menu-tab.active {
        color: red;
        border-bottom: 2px solid red;
    }

.header-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matching-icon {
    background: #F1F3F5;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    width: 35px;
    height: 35px;
}

.sort-button {
    background: #F1F3F5;
    border: none;
    border-radius: 10px;
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sort-options-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.sort-option {
    background: none;
    border: none;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    padding: 5px 15px;
    background-color: #f1f1f1;
}

    .sort-option.active {
        background-color: #1C355E;
        color: white;
    }

.message-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 12px;
}

    .message:hover,
    .message.selected {
        background-color: #e9e9e9;
    }

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.profile-containers {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.message-content {
    flex: 1;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.message-sender {
    font-weight: 700;
}

.message-role {
    font-size: 12px;
    color: gray;
}

.message-body {
    font-weight: 400;
    color: #333;
}

.message-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.unread-indicator {
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
}

.add-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1C355E;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.add-button-review {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #F2BC12;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}

.message-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .message-detail-header .profile-details {
        margin-right: auto;
    }

.message-detail-body {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.message-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

.actions-left {
    display: flex;
    gap: 10px;
}

.actions-right {
    margin-left: auto;
}

/* Reply Component */
.reply-modal {
    position: absolute;
    bottom: 10px;
    left: 20px; /* Matches the parent's left padding */
    right: 20px; /* Matches the parent's right padding */
    background: #F1F3F6;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 10px;
    border-radius: 20px;
}


.reply-modal-content {
    width: 100%;
    z-index: 1000;
    padding: 20px;
    background: #F1F3F6;
    border-radius: 10px;
}

.reply-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F1F3F6;
    padding-bottom: 10px;
}

.reply-modal-close {
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

.reply-modal-body {
    margin-top: 10px;
    background: #F1F3F6;
}

.reply-form-control {
    background: #F1F3F6;
    border: none;
    width: 100%;
    resize: none;
    height: 150px;
    outline: none;
    box-shadow: none;
}

.editable {
    border: 2px solid #1c355e;
    padding: 10px;
    border-radius: 5px;
}

.modal-body {
    padding-top: 10px;
    overflow-x:hidden;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border: none;
}

.modal-footer-reviews {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    border: none;
}


.default-btn {
    background-color: #1C355E;
    border: none;
    border-radius: 7px;
    padding: 5px 15px;
    color: white;
    font-size: 12px;
}

.upload-btn {
    border: none;
    background-color: transparent;
    border-radius: 7px;
    padding: 5px 15px;
    color: white;
    font-size: 12px;
    outline: none;
}

.ai-btn {
    background-color: #1C355E;
    border: none;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 12px;
}

.custom-menu .menu-item.active {
    color: red;
    border-bottom: 2px solid red;
}

.custom-menu .menu-item {
    margin-right: 20px;
    padding-bottom: 5px;
}

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

    .custom-menu .menu-link:hover {
        text-decoration: none;
    }



.profile-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.left-section {
    display: flex;
    align-items: center;
}

.right-section {
    display: flex;
    align-items: center;
}

.mission-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 20px;
}

.application-right-section {
    margin-left: auto;
}

.application-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-button {
    background: none;
    border: none;
    cursor: pointer;
}

.mission-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.star-button {
    background-color: #1C355E;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

.star-icon {
    color: white;
}

.application-custom-menu {
    display: flex;
    gap: 20px;
}

.application-menu-item {
    list-style-type: none;
    padding: 5px 10px;
}

    .application-menu-item.active {
        border-bottom: 2px solid #1C355E;
    }

.application-menu-link {
    text-decoration: none;
    color: #333;
}

.organization-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.application-header {
    margin-top: 30px;
    font-weight: 600;
}

.application-right-side {
    display: flex;
    gap: 10px;
}

.social-right-side {
    display: flex;
    gap: 25px;
}

.social-icon {
    width: 25x;
    height: 28px;
}

.details {
    margin-top: 20px;
}

    .details h2 {
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

.funding-info {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 20px;
}

.raised-amount {
    display: flex;
    justify-content: center;
}

.raised-btn {
    background-color: #1C355E;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    position: absolute;
    bottom: 10%;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
/*Itinerary*/

.itinerary-actions {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Wrapper to anchor all buttons to bottom-right */
.itinerary-buttons-wrapper {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    gap: 10px; /* space between buttons */
}

/* All buttons share styling */
.finalize-button,
.itinerary-add-button {
    background-color: #1C355E;
    color: white;
    border: none;
    font-size: 1rem;
}

/* Finalize buttons: rectangular */
.finalize-button {
    border-radius: 10px;
    padding: 10px 20px;
}

/* Add button: circular */
.itinerary-add-button {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.reply-modal-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.gray-btn {
    border-radius: 5px;
    border: none;
    font-size: 12px;
    padding: 5px 15px;
}

.profile-picture {
    border-radius: 50%;
    margin-right: 20px;
}

.name-date {
    display: flex;
    flex-direction: column;
}

    .name-date h2 {
        margin: 0;
        font-size: 1.5rem;
    }

    .name-date p {
        margin: 0;
        color: gray;
    }

.social-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
}

    .social-icons i {
        font-size: 1.5rem;
        margin-left: 15px;
        cursor: pointer;
    }

.details {
    margin-top: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

    .detail-item label {
        font-weight: bold;
        color: #333;
    }

.description p {
    color: #333;
}

.button-group {
    display: flex;
    gap: 40px;
    align-content: end;
}

.carousel-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

.carousel-container {
    width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    margin-left: 20px;
}

.item {
    width: 600px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    overflow: hidden;
}

    .item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f9fa;
        padding: 10px;
    }

.modal-image-container {
    width: 800px;
    height: 500px;
}

    .modal-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f9fa;
    }

.placeholder-box {
    width: 400px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0 auto;
}

    .placeholder-box p {
        color: #6c757d;
        margin: 0;
    }

.image-modal {
    width: 1000px !important;
    height: 600px !important;
}

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

    .modal-image-container img {
        max-width: 800px;
        max-height: 500px;
        object-fit: contain;
    }

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1C355E;
}

    .close-button:hover {
        color: #dc3545;
    }

.item img {
    cursor: pointer;
}



.approve-button-group {
    padding-top: 5%;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.approve-btn, .deny-btn {
    background-color: #1C355E;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 5px 30px;
    font-size: 18px;
    cursor: pointer;
}

.text {
    font-size: 14px;
    padding: 10px;
}
.custom-menu .menu-item.active {
    color: red;
    border-bottom: 2px solid red;
}

.custom-menu .menu-item {
    margin-right: 20px;
    padding-bottom: 5px;
}

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

    .custom-menu .menu-link:hover {
        text-decoration: none;
    }

.small-rating {
    font-size: 14px;
}

.k-svg-icon.k-icon-xl {
    width: 14px;
    height: 14px;
}
/* Documents */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.upload-box {
    cursor: pointer;
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-box img {
        width: 80px;
        height: 80px;
    }

.upload-text {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
    color: #6F6F70;
}

.selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    justify-content: center;
}

.selected-file {
    border: none;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.selected-file-preview {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.file-name {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-top: 5px;
    text-align: center;
}

.remove-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.documents-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: flex-start;
}

.document-card {
    position: relative;
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.document-preview-container {
    width: 100%;
    height: 200px; /* Adjust this value as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.document-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.document-info {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 6px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.document-title {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-date {
    font-size: 10px;
    margin: 0;
    line-height: 1.2;
}

.close-button-document {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

    .close-button-document:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .close-button-document svg {
        width: 16px;
        height: 16px;
        fill: #333;
    }

/*Logout*/
.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logout-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
}

.logout-dialog {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1001;
    width: 350px;
    height: 250px;
}

.logout-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.logout-button {
    background-color: #1C355E;
    color: white;
    padding: 10px 50px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px;
    font-family: 'Montserrat', sans-serif;
}

    .logout-button:hover {
        background-color: darkred;
    }

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 10px;
}

.selected-files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-file {
    font-size: 11px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-file-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
}

.add-more-button {
    width: 100px;
    height: 100px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-primary {
    background-color: #F2BC12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}
/* Profile */
.name-date h2, .name-date p {
    margin: 0;
    padding: 0;
}

.name-date h2 {
    font-size: 1.5rem;
}

.name-date p {
    color: #666;
}

.detail-item {
    display: flex;
    align-items: center;
}

.change-password {
    margin-left: 10px;
    background: none;
    border: none;
    color: #F2BC12;
    cursor: pointer;
}

.footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.social-icons-btn {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

    .social-icons-btn a {
        color: #000;
        text-decoration: none;
    }

    .social-icons-btn .k-svg-icon {
        width: 24px;
        height: 24px;
    }

.save-button-container {
    display: flex;
    justify-content: center;
}

.save-btn {
    background-color: #1C355E;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
}

.password-item {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Reports */
.report-container {
    display: flex;
    height: 100vh;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.split-view .main-content {
    flex: 0 0 50%;
}

.report-wrapper {
    height: calc(100vh - 150px);
    overflow-y: auto;
}

.report-details {
    flex: 0 0 50%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    margin-left: 10px;
    display: none;
    transition: all 0.3s ease;
}

.split-view .report-details {
    display: block;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.report-header {
    display: flex;
    justify-content: space-between;
    background-color: rgba(28, 53, 94, 1);
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.report-header-graph {
    display: flex;
    justify-content: space-between;
    color: black;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.report-header span {
    flex: 1;
    text-align: center;
    position: relative;
}

    .report-header span:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: 0;
        color: white;
        padding-left: 10px;
    }

.report-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.custom-grid .k-grid-header {
    display: none;
}

.custom-grid .k-grid-content {
    overflow: hidden;
    border-style: none;
    border-radius: 10px;
}

    .custom-grid .k-grid-content tr {
        background-color: #F1F3F5;
        text-align: center;
        border-style: none;
        font-size: 12px;
    }

        .custom-grid .k-grid-content tr:nth-child(even) {
            background-color: #ffffff;
        }

    .custom-grid .k-grid-content td {
        border: none;
        position: relative;
        padding-right: 10px;
        text-align: center;
        vertical-align: middle;
    }

        .custom-grid .k-grid-content td:not(:last-child)::after {
            content: "|";
            position: absolute;
            right: 0;
            color: #ccc;
            padding-left: 10px;
        }

.charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #F1F3F5;
}

.small-charts {
    display: flex;
    gap: 20px;
}

    .small-charts > div {
        flex: 1;
    }

.diocese-info {
    display: flex;
    align-items: center;
}

    .diocese-info h4 {
        margin-right: 0.5rem;
        margin-bottom: 0;
    }

.modal-actions {
    display: flex;
    align-items: center;
}

    .modal-actions .k-button-icon .k-icon {
        font-size: 14px;
    }


/*Chat*/
.chat-list-container {
    width: 30%;
    border-right: 1px solid #ddd;
    padding: 20px;
}

.chat-list {
    margin-top: 20px;
    overflow-y: auto;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.2s;
}

    .chat-item:hover {
        background-color: #f0f0f0;
    }

    .chat-item.selected {
        background-color: #e9ecef;
    }

.profile-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
}

.chat-preview {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.chat-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.chat-last-message {
    color: #888;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-time {
    color: #aaa;
    font-size: 12px;
    margin-left: auto;
}

.chat-detail-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
}

.chat-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.chat-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-name {
    font-size: 20px;
    font-weight: bold;
}

.chat-message {
    max-width: 60%;
    word-wrap: break-word;
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

    .chat-message.sent {
        background-color: #1C355E;
        color: white;
        align-self: flex-end;
        border-top-right-radius: 0;
        text-align: right;
        font-size: 16px;
        font-weight: 300;
    }

    .chat-message.received {
        background-color: #f1f1f1;
        color: black;
        align-self: flex-start;
        border-top-left-radius: 0;
        text-align: left;
        font-size: 16px;
        font-weight: 300;
    }

.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.chat-time {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
    text-align: right;
}

.chat-input-container {
    display: flex;
    align-items: center;
    position: sticky;
    bottom: 0;
}


.profile-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.date-separator {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin: 15px 0;
    color: gray;
    font-size: 0.9em;
}

.message-detail-container {
    position: relative;
    padding-left: 20px;
}

.message-detail-header {
    position: relative;
    padding-left: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.chat-info {
    display: flex;
    gap: 10px;
    width: 100%;
}

.label-to {
    margin-right: 10px;
}

.small-time {
    font-size: 10px;
}

.sent-time {
    color: white;
}

.received-time {
    color: gray;
}


.chat-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.action-buttons {
    margin-left: auto;
}

.chat-input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.default-btn {
    margin-left: 10px;
}

.gray-btn {
    margin-left: 10px;
    font-weight: bold;
}

.email-detail-header {
    padding: 10px;
}

.email-info {
    display: flex;
}

.email-body-container {
    flex-grow: 1;
    padding: 10px;
}

.email-body-input {
    width: 100%;
    height: 100%;
    border: none;
    resize: none;
    outline: none;
}


.email-actions-container {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
}

    .email-actions-container button {
        margin-right: 10px;
    }

.left-actions, .right-actions {
    display: flex;
}

    .right-actions button {
        margin-left: 10px;
    }

.button-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 200px;
    width: 220px;
}

.welcome-button {
    display: grid;
    margin-top: 10%;
}

.spacer {
    flex-grow: 1;
}

.continue-button, .accept-button {
    padding: 8px 50px 8px 50px;
    border: none;
    background-color: #1C355E;
    border-radius: 20px;
    color: white;
}

.back-button {
    padding-right: 20px;
    color: #C7C7C7;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
    margin-top: 22%;
    background-color: transparent;
}

.button-css {
    padding: 8px 55px 8px 55px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    background-color: #1C355E;
    border-radius: 20px;
    color: white;
    font-size: 18px;
}

.signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Grid Container Styles */
.k-grid {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.k-grid-header {
    color: white;
}

    .k-grid-header th {
        background-color: #F1F3F5;
        border-bottom: 1px solid #F1F3F5;
        padding: 12px 16px;
    }

        .k-grid-header th:first-child {
            border-top-left-radius: 12px;
        }

        .k-grid-header th:last-child {
            border-top-right-radius: 12px;
        }

        .k-grid-header th.k-state-selected,
        .k-grid-header th.k-state-focused {
            background-color: #1C355E !important;
            color: white !important;
        }

            .k-grid-header th.k-state-selected .k-icon,
            .k-grid-header th.k-state-focused .k-icon {
                color: white;
            }

    /* Sort Indicator Styles */
    .k-grid-header .k-sort-order {
        color: white !important;
    }

.k-grid tbody tr {
    transition: background-color 0.2s ease;
}

    .k-grid tbody tr:nth-child(odd) {
        background-color: #f8fafc;
    }

    .k-grid tbody tr:nth-child(even) {
        background-color: white;
    }

    .k-grid tbody tr:hover {
        background-color: #eff6ff;
    }

.k-grid td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.k-grid .k-icon {
    color: gray;
}

    .k-grid .k-icon:hover {
        color: #212121;
    }

.k-filter-menu {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Export Button Styles */
.k-grid-toolbar .k-button {
    background-color: #1C355E;
    color: white;
    border-radius: 6px;
    border: none;
    padding: 8px 16px;
    margin-right: 8px;
    transition: background-color 0.2s ease;
}

    .k-grid-toolbar .k-button:hover {
        background-color: #F1F3F5;
        color: #212121;
    }

.k-checkbox-label {
    margin-left: 8px;
    color: #4b5563;
}

.k-button:disabled,
.k-button[disabled],
.k-button.k-disabled {
    background-color: lightgrey;
    opacity: 0.6;
    cursor: not-allowed;
}

.disabled-link {
    color: grey;
    pointer-events: none;
    cursor: not-allowed;
    font: inherit;
    border: none;
}

/* Style for Telerik Carousel arrows */
.t-carousel .k-icon {
    color: #1C355E !important;
}

/* Override any potential background styling */
.t-carousel .k-button {
    background-color: transparent !important;
    border: none !important;
}

.t-link-disabled {
    color: black !important;
    font: inherit;
    text-decoration: none;
    border: none;
    background-color: transparent;
}

.scrollable-description {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    font: inherit;
}

/* document preview */
.document-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
    justify-content: flex-start;
    align-items: stretch;
}

.document-card {
    background: #D9D9D9;
    border-radius: 12px;
    width: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.document-preview {
    background: #D9D9D9;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px;
    width: 100%;
}

.pdf-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: black;
    font-weight: bold;
}

.document-info {
    padding: 16px;
    background: #1C355E;
    width: 100%;
}

    .document-info h3 {
        margin: 0 0 8px 0;
        font-size: 16px;
        font-weight: 500;
        color: white;
    }

.view-button {
    width: 90%;
    padding: 10px;
    background: transparent;
    border: 1px solid #6B7280;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.2s;
}

    .view-button:hover {
        background: #4B5563;
    }


.k-textbox[readonly],
.k-input[readonly] {
    border-color: transparent !important;
}

.k-textbox::after,
.k-textbox::before,
.k-input::after,
.k-input::before {
    border-color: transparent !important;
}

.k-textbox:focus::after,
.k-textbox.k-focus::after,
.k-textbox.k-state-focused::after,
.k-input:focus::after,
.k-input.k-focus::after,
.k-input.k-state-focused::after {
    border-color: transparent !important;
}


/*.k-textbox input,
.k-input input {
    border: none !important;
    outline: none !important;
}

    .k-textbox input:focus,
    .k-input input:focus {
        border: none !important;
        outline: none !important;
    }
*/
.underline-only.k-textbox input,
.underline-only.k-input input,
.k-textbox.underline-only input,
.k-input.underline-only input {
    border: none;
    outline: none !important;
    border-radius: 10px;
}

.large-textbox.k-textbox input,
.underline-only.k-input input,
.k-textbox.underline-only input,
.k-input.underline-only input {
    border: none;
    outline: none !important;
    border-radius: 10px;
}

.message-input {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 400px;
}

    .message-input .k-clear-value {
        display: inline-flex;
        align-items: center;
        margin-left: auto;
        padding: 0 8px;
        cursor: pointer;
    }

.back-button-header {
    border: none; 
    border-radius: 50%; 
    padding: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.back-button-img {
    width: 24px;
    height: 24px;
    display: block;
}

.k-datepicker.underline-only,
.k-timepicker.underline-only {
    display: flex !important;
    align-items: center !important;
}

    .k-datepicker.underline-only .k-input,
    .k-timepicker.underline-only .k-input {
        flex: 1;
        margin-right: 8px;
    }

    .k-datepicker.underline-only .k-button,
    .k-timepicker.underline-only .k-button {
        display: inline-flex !important;
        align-items: center !important;
    }

.reviewing-btn {
    background-color: #1C355E;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 5px 30px;
    font-size: 18px;
    cursor: pointer;
}

.form-control-edit,
.form-control-edit input,
.form-control-edit .k-input,
.k-dateinput .k-input,
.k-datepicker .k-input {
    color: #000000 !important;
}

    /* Handle placeholders specifically */
    .form-control-edit input::placeholder,
    .k-dateinput .k-input::placeholder,
    .k-datepicker .k-input::placeholder {
        color: #000000 !important;
        opacity: 1;
    }

.k-input-values {
    min-width: 0px;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    cursor: text;
    color: black;
    border: none;
}

    .k-input-values .k-chip {
        margin-right: 8px;
        display: flex;
        align-items: center;
        background-color: white; 
        border: none;
        border-radius: 20px; 
    }

/* Alternative selectors for the clear button */
.k-multiselect .k-button-clear,
.k-multiselect .k-clear-value,
.k-multiselect .k-icon.k-i-x {
    display: none !important;
}

.initial-data-loader .k-loader-container-overlay.k-overlay-light {
    background-color: white;
}

.k-loader-container {
    z-index: 100;
}

.form-group {
    position: relative;
}

    .form-group[title]:hover::before {
        content: attr(title);
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        z-index: 1000;
        pointer-events: none;
    }

    .form-group[title]:hover::after {
        content: "";
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #333;
        z-index: 1000;
        pointer-events: none;
    }

.grid-toolbar-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

    /* Export button styling (optional enhancement for consistency) */
    .grid-toolbar-flex .btn-excel {
        margin-right: 0.5rem;
    }

    /* Checkbox styling */
    .grid-toolbar-flex .k-checkbox-label {
        display: flex;
        align-items: center;
        margin-right: 1rem;
    }

/* Search box wrapper */
.searchbox-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 0.75rem;
    height: 40px;
    width: 320px; /* Slightly longer for balance */
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .searchbox-wrapper:focus-within {
        border-color: #004080;
        box-shadow: 0 0 5px rgba(0, 64, 128, 0.3);
    }

    /* Search icon */
    .searchbox-wrapper .k-input-icon,
    .searchbox-wrapper .k-icon {
        color: #777;
        margin-right: 8px;
        font-size: 16px;
    }

    /* Input field */
    .searchbox-wrapper input[type="text"],
    .searchbox-wrapper .k-input,
    .searchbox-wrapper .k-searchbox {
        flex: 1;
        border: none;
        outline: none;
        font-size: 15px;
        color: #333;
        background: transparent;
    }

    /* Placeholder styling */
    .searchbox-wrapper input::placeholder {
        color: #999;
    }

    /* Hover for interactive feel */
    .searchbox-wrapper:hover {
        border-color: #999;
    }

.speaker-dropdown-group {
    margin-bottom: 24px;
}

.speaker-dropdown-row {
    display: flex;
    align-items: center;
    width: 100%;
}

    .speaker-dropdown-row label {
        margin-bottom: 0;
        min-width: 80px;
    }

    .speaker-dropdown-row .form-control {
        flex: 1;
    }