html {
    font-size: 14px;
    direction: rtl;
}

@media (min-width: 768px) { 
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: ghostwhite;
    color: black;
    overflow: hidden;
}


.form-floating {
    position: relative;
    width: 100%;
}

    .form-floating label {
        position: absolute;
        top: 0px;
        right: 10px;
        background-color: #fff;
        padding: 0 10px;
        font-size: 15px;
        transition: 0.3s ease-in-out;
    }

    .form-floating input:focus + label,
    .form-floating input:valid + label {
        top: -20px;
        right: 5px;
        color: darkgray;
        font-size: 15px;
    }

.no-border-input {
    border: none; /* Remove border */
    border-bottom: 2px solid #258cfb; /* Optional: Add a bottom border */
    border-radius: 0;
    outline: none;
    box-shadow: none !important;
    background-color: transparent; /* Make background transparent */
}

    .no-border-input:focus {
        border-bottom: 2px solid #258cfb; /* Optional: Highlight bottom border on focus */
        transition: border-bottom 0.3s ease; /* Smooth transition */
    }


.main-content {
    height: 100vh; /* Set the height to 100% of the viewport */
    overflow-y: auto; /* Enable vertical scrolling */
    flex-grow: 1; /* Automatically adjusts width based on sidebar */
    /* margin-right: 240px;*/ /* Default margin when sidebar is expanded */
    padding: 20px;
    transition: margin-right 0.3s ease; /* Smooth transition for dynamic width */
}

/* Adjust margin when sidebar is collapsed */
.sidebar.close + .main-content {
    margin-right: 60px; /* Margin for collapsed sidebar */
}
#dock-target.dock-target {
    margin-right: 260px;
}

#dock-target {
    min-height: 100vh; /* Make sure it takes full height */
    padding-top: 60px;
    margin-right: 80px;
    transition: all 0.5s ease;
}

i.fa-solid {
    user-select: none; /* Prevents text selection */
    cursor: pointer; /* Prevents the text input cursor (I-beam) */
}

.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 600;
        color: #012970;
    }



/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

    .card-title span {
        color: #899bbd;
        font-size: 14px;
        font-weight: 400;
    }

.card-body {
    padding: 0 20px 20px 20px;
    background-color: azure;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}



.no-a-decoration {
    text-decoration: none;
    color: inherit;
  
}
    .no-a-decoration:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }


/* #region Table Styles */
table {
    width: 100%;
    border-collapse: collapse; /* Merge cell borders */
}

    table td {
        padding: 0.1rem !important;
    }
/* #endregion */

.AddOrEditForm {
    background: #ebeef4 !important;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}