@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #FCF8F3;
}

.page {

    width: 100%;
    height: 100%;
}

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

.invalid,
.validation-message {
    color: #e50000;
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,...) 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;
}

.login-form-container {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
}

.logo {
    max-width: 200px;
    margin-bottom: 2rem;
}

.portal-title {
    color: #4a4a4a;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.welcome-text {
    color: #a5ba8d;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #a5ba8d;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #a5ba8d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.login-button:hover {
    background-color: #95aa7d;
}

.arrow {
    font-size: 1.2rem;
}

.forgot-password a {
    color: #b89b72;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.alert-danger {
    background-color: #fee;
    color: #c00;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.custom-button {
    background-color: #90ee90;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
}

.custom-button:hover {
    background-color: #76c776;
}

.container {
    width: 100%;
    padding: 2vh 2vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

.button-group {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.delete-btn {
    padding: 4px 8px;
    border: none;
    background-color: #b53f3f;
    cursor: pointer;
    color: white;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.green-button {
    background-color: #B5CF9C;
    color: white;
    border: none;
    padding: 8px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.meduim-green-button {
    background-color: #B5CF9C;
    /* same as green-button */
    color: white;
    border: none;
    padding: 6px 20px;
    /* larger size */
    border-radius: 4px;
    cursor: pointer;
}


.green-button:hover {
    background-color: #9FB88A;
}

.table-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    padding: 2px;
    background: white;
    border-radius: 4px;

    min-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 auto;
    padding: 2px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
/* 
.portal-table {
    width: 100%;
    border-collapse: collapse;
    line-height: 2vh;
    border-radius: 6px;
    padding: 1vh;
}

.portal-table th {
    background-color: #333;
    color: white;
    text-align: left;
    padding: 1vh;
    border: 1px solid #000000;
}

.portal-table tr td {
    text-align: left;
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
    padding-left: 1vh;
    padding-right: 1vh;
}

.portal-table td {
    border: 0.1px solid black;
}

.portal-table tr:hover {
    background-color: #f9f9f9;
}

.portal-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.portal-table tr:nth-child(even) {
    background-color: #e5eedd;
}

.portal-table tr:hover {
    background-color: #d9d9d9;
} */
/* 
.action-btn {
    padding: 0.5vh;
    border: none;
    background: #B5CF9C;
    cursor: pointer;
    color: white;
    font-size: 12px;
    margin-left: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.action-btn.delete-btn:hover {
    background: #a83636;
} */

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
}

.page-button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    min-width: 35px;
    text-align: center;
}

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

.page-button.active {
    background-color: #333;
    color: white;
    border-color: #444;
}

.school-name-column {
    width: 35%;
}

.portal-user-column {
    width: 15%;
}

.status-column {
    width: 15%;
}

.actions-column {
    width: 35%;
}

.delete-confirmation {
    text-align: center;
    background-color: white;
    border-radius: .5rem;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}

.dialog-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cancel-btn {
    padding: 0.5rem 1rem;
    background-color: #e5e7eb;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.confirm-btn {
    padding: 0.5rem 1rem;
    background-color: #a83636;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.confirm-btn:hover {
    background-color: #b91c1c;
}

.cancel-btn:hover {
    background-color: #d1d5db;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.dialog-overlay.hidden {
    display: none;
}

.dialog-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    width: 100%;
    max-width: 32rem;
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

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

@media screen and (max-width: 768px) {

    .school-name-column,
    .portal-user-column,
    .status-column,
    .actions-column {
        width: auto;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.modal {
    background-color: rgba(0, 0, 0, 0.5);
}

.card {
    margin: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.table td {
    vertical-align: middle;
}

.btn-link {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem;
}

.alert {
    z-index: 1060;
}

.green-text {
    color: #B5CF9C;
}

.light-green-text {
    color: #b9cd95;
}

.light-text {
    color: #b0b0b0f2;
}


.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    border: 1px solid #B5CF9C;
    border-radius: 6px;
    width: 75%;
    margin-top: 3vh;
    margin-left: auto;
    margin-right: auto;
}

.thead-dark {
    background-color: #000000;
    color: #ededed;
    padding: auto;
    border-radius: 10%;
    border: 1px solid #B5CF9C;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
    box-sizing: border-box;
}

.odd-row {
    background-color: #f8f9fa;
}

.even-row {
    background-color: #ebf1e6;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: left;
}

.thead-dark th {
    background-color: #000000;
    color: white;
}

.no-data {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

.login-container {
    height: 80vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #B5CF9C, #B5CF9C);
}

.login-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.login-title {
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #B5CF9C;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-control {
    border: 2px solid #edf2f7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #B5CF9C;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-check {
    margin: 1rem 0;
}

.form-check-input:checked {
    background-color: #B5CF9C;
    border-color: #B5CF9C;
}

.login-button {
    background: linear-gradient(90deg, #B5CF9C, #B5CF9C);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 0.75rem 1.5rem;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px #B5CF9C;
}

.login-button:active {
    transform: translateY(0);
}

.forgot-password {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: #B5CF9C;
}

.validation-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.alert-danger {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    border-radius: 8px;
    padding: 1rem;
}

.action-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow: hidden;
}

.action-btn {
    flex: 1 1 auto;
    min-width: fit-content;
    white-space: nowrap;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}


.register-form-grid {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (min-width: 600px) {
    .register-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .register-form-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .register-form-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.title {
    font: optional;
    margin-bottom: 40px;
    color: #B5CF9C;
}

.intro {
    color: gray;
    padding: 4px;
    margin-bottom: 4vh;
}

.label {
    color: gray;
    padding: 4px;

}

.success-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 20px;
    gap: 20px;
    box-sizing: border-box;
}

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




/* New Classes  */

.slim-green-button {
    background-color: #B5CF9C;
    color: white;
    border: none;
    padding: 4px 25px;
    border-radius: 4px;
    cursor: pointer;
}

.slim-green-button:hover {
    background-color: #a3bb8c;
    color: rgb(239, 240, 234);

}

.short-form-select {
    width: 10rem;
    height: 2rem;
    border-radius: 0.4rem;
    text-align: center;
    font-size: small;
    border: 1px solid #B5CF9C;
    outline: none;
    font-family: "Noto Sans", serif;
}

/* Spinner */
.spinner-wrapper {
    width: 100%;
    height: 100%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.custom-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #a3bb8c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sortable-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(0, 0, 0);
    background: #000000;
    border: 1px solid #000000;
}

.sort-indicator {
    font-size: 0.8em;
    color: #666;
}

.sortable-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.no-data-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px dashed #e5e7eb;
}

.no-data-content {
    text-align: center;
}

.no-data-icon {
    width: 48px;
    height: 48px;
    color: #a3bb8c;
    margin-bottom: 1rem;
}

.no-data-message {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.green-text {
    color: #7f9b65;
    background-color: transparent;
    border: none;
    outline: none;
    margin: 1px;
}

.green-text:hover {
    color: #5a7243;
}

.table-striped {
    width: 100%;
    min-width: 100vh;
    border: 1px solid #5a7243;
}

/* Tab */


.tab-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: .5rem;
    padding: .3rem;
    border-bottom: 4px solid #7f9b65;

}


.tab-button,
.tab-button-sm {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 22vh;
    padding: .2rem;
    border-radius: .375rem;
    cursor: pointer;
    transition: all .2s;
    background-color: transparent;
    color: #c0e0a1;
}

.tab-button-sm {
    border: 1px solid #000000;
    max-width: 24vh;
    padding: .3rem .6rem;
    height: 2.53rem;
}

.tab-button:hover,
.tab-button-sm:hover {
    background-color: #c0e0a1;
    color: white;
}

.tab-button.active,
.tab-button-sm.active {
    background-color: #3e3e3e;
    color: white;
}

.tab-text {
    font-size: .8rem;
    font-weight: 540;
    font-family: Arial, Helvetica, sans-serif;
}

.tab-text-sm {
    font-size: .7rem;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}


.text-small {
    color: white;
    font-size: small;
    font-weight: 400;
}

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

.light-btn {
    background-color: transparent;
    border: none;
    border-radius: .5vh;
}

/* */


/*  */
/*  */
/* */

::deep .tab-button {
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

::deep .tab-button:hover {
    color: #4b5563;
}

::deep .tab-button.active {
    color: #A3B18A;
    border-bottom-color: #A3B18A;
}

.custom-scrollbar {
    scroll-behavior: smooth;
}

/* Webkit browsers (Chrome, Safari, newer Edge) */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #A3B18A;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #8c9a74;
}

/*  */
/*  */
/*  */
.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.space-y-6>* {
    margin-bottom: 2rem;
}

.text-lg {
    font-size: 1.25rem;
}

.text-md {
    font-size: 1.1rem;
}

.text-sm {
    font-size: 0.9rem;
}

.custom-radio input[type="radio"] {
    accent-color: #b9cd95;
}

.custom-radio {
    color: #b9cd95;
}

.font-semibold {
    font-weight: 600;
}

.text-green-600 {
    color: #A3B18A;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.block {
    display: block;
}

.w-full {
    width: 100%;
}

.w-md {
    width: 50%;
}

.p-2 {
    padding: 0.5rem;
}

.border {
    border: 1px solid #ddd;
}

.rounded {
    border-radius: 0.25rem;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-4 {
    gap: 1rem;
}
.gap-6 {
    gap: 1.4rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.w-full.p-2.border.rounded {
    border-color: #ddd;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.w-full.p-2.border.rounded:focus {
    outline: none;
    border-color: #A3B18A;
    box-shadow: 0 0 0 2px rgba(163, 177, 138, 0.2);
}

/* Submit button */
.px-4.py-2.bg-green-600.text-white.rounded.hover\:bg-green-700 {
    background-color: #A3B18A;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.px-4.py-2.bg-green-600.text-white.rounded.hover\:bg-green-700:hover {
    background-color: #8a9874;
}

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

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .gap-4 {
        gap: 1.5rem;
    }
    .gap-6{
        gap: 1.8rem;
    }
}


/*  */

/* Container styles */


.description-container {
    margin-bottom: 20px;
}

.description-container p {
    color: #434343;
    line-height: 1.6;
}

.sara-status-container {
    margin-bottom: 30px;
}

.div-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow: hidden;
    border-bottom: 1px solid rgb(123, 94, 50);
}
.con-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgb(123, 94, 50);
}

.div-con-culomn {
    width: 100%;
    display: flex;
    flex-direction:column;
    padding: 1rem;
}
.div-con-row{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}
.text-container {
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:center;
    gap: 1rem;
    padding: 1rem;
}

.md-light-text{
    color: #868686e2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.form-textarea{
    border: .5px solid #bada86 ;
    outline: none;
}

.form-textarea:active{
    outline: 1px solid #8a9874 ;
}

.dark-btn{
    background-color: #211f1fd4;
    color : white;
    padding: .4rem .6rem;
    border-radius: 3px;
    border :none;
}

.cstm-grn-btn{
    color: #211f1fd4;
    padding: .4rem .6rem;
    border-radius: 3px;
    border :1px solid #211f1fd4 ;
    background-color: transparent;
    transition: all 0.2s;
}
.cstm-grn-btn:hover{
    background-color: #a4c685;
    color: white;
    border :1px solid #b5d894 ;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 1.2rem;
    color: #666;
}


.green-accent{

   accent-color:#a4c685 ;
   color: white;
   width: .9rem;
   height: .9rem;
}






















/*  */


