﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

@media only screen and (max-device-width : 640px) {
    u {
        text-underline-position: under;
    }
    #resultCard {
        width: 100%;
        margin: auto;
    }
}

@media only screen and (max-device-width: 768px) {
    u {
        text-underline-position: under;
    }
    #resultCard {
        width: 100%;
        margin: auto;
    }
}

@media screen and (min-width: 980px) /* Desktop */ {
    #resultCard {
        width: 50%;
        margin: auto;
    }
}

@media screen and (max-width: 979px) /* Tablet */ {
    #resultCard {
        width: 80%;
        margin: auto;
    }
}

@media screen and (max-width: 500px) /* Mobile */ {
    #resultCard {
        width: 100%;
        margin: auto;
    }
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

.loading-modal {
    position: fixed;
    z-index: 1000000;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.8;
    -moz-opacity: 0.8;
}

.loading-center {
    z-index: 100000;
    margin: 300px auto;
    padding: 10px;
    height: auto;
    width: 50px;
    background-color: White;
    border-radius: 10px;
    filter: alpha(opacity=100);
    opacity: 1 !important;
    -moz-opacity: 1;
}

    .loading-center img {
        height: auto;
        width: auto;
        margin-left:5px;
    }

.modal {
    overflow-y: auto;
}

#updatePanel {
    width: 95%;
    margin: 0 auto;
    position: relative;
}

.popover-body {
    background-color: Black;
    border-radius: 0px;
    color: white;
}
/*.bs-popover-auto[x-placement^=bottom] > .arrow::after, .bs-popover-bottom > .arrow::after{
    background-color:black;
}*/

.bs-popover-auto[x-placement^=bottom] > .arrow::after, .bs-popover-bottom > .arrow::after {
    border-bottom-color:black;
}

.page-item.active .page-link {
    background-color: #f1556c;
    border-color: #f1556c;
}

.fc-sun {
    background-color: #f6fcbb;
    color: blue;
}

.fc-sat {
    background-color: #f6fcbb;
    color: blue;
}

/* Rating Star Widgets Style */
.rating-stars ul {
    list-style-type: none;
    padding: 0;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .rating-stars ul > li.star {
        display: inline-block;
    }

        /* Idle State of the stars */
        .rating-stars ul > li.star > i.fa {
            font-size: 2.5em; /* Change the size of the stars */
            color: #ccc; /* Color on idle state */
        }

        /* Hover state of the stars */
        .rating-stars ul > li.star.hover > i.fa {
            color: #FFCC36;
        }

        /* Selected state of the stars */
        .rating-stars ul > li.star.selected > i.fa {
            color: #FF912C;
        }
/* Checked Rating Stars Color*/
.checked {
    color: orange;
}

.flatpickr-wrapper {
    position: relative;
    display: block;
}

.x-editable-textbox{
    width:75px;
}

.invalid {
    border-color: #f1556c;
    padding-right: calc(1.5em + 0.9rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f1556c' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1556c' stroke='none'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.225rem) center;
    background-size: calc(0.75em + 0.45rem) calc(0.75em + 0.45rem);
}

.form-default {
    margin-bottom: 0px !important;
    -webkit-appearance: none;
}

.modal-y {
    display: block !important; /* I added this to see the modal, you don't need this */
}

/* Important part */
.modal-dialog-y {
    overflow-y: initial !important
}

.modal-body-y {
    height: 80vh;
    overflow-y: auto;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    color: #343a40;
}

.register-form-margin-top {
    margin-top: 19px;
}

@media only screen and (max-width: 750px) {
    .register-form-margin-top {
        margin-top:0px;
    }
}
.swal-title-red {
    color: #ff0000 !important;
    font-weight: bold;
}
body.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a8c66c 0%, #8fb05a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-page .container {
    max-width: 1200px;
    width: 100%;
}

.login-page .card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.login-page .left-section {
    flex: 1;
    padding: 60px 50px;
    background: white;
}

.login-page .right-section {
    flex: 1;
    background: #1a1a1a;
    background-size: cover;
    background-image: url('../assets/images/bg-login.png');
    background-position: center;
    min-height: 400px;
}

.login-page .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center; /* Center on mobile */
}

.login-page .logo {
    width: 70px;
    height: 70px;
    background: #2d5f3f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-left: 30px;
}

.login-page .logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.login-page .logo-arabic {
    content: "";
    display: block;
    background: url('../assets/images/bismillah-logo.png') no-repeat center;
    background-size: contain; /* Changed from cover for better scaling */
    width: 360px;
    height: 80px;

}

.login-page .logo-english {
    font-size: 30px;
    font-weight: 600;
    color: #2e3b21;
    margin-bottom: 3px;
    margin-top: -9px;
    text-align: center;
    font-family: LORA;
}

.login-page .logo-tagline {
    font-size: 12px;
    color: #2e3b21;
    text-align: center;
    line-height: 1.5;
    margin-top: -12px;
    font-family: Lora;
}

/* Tablet screens */
@media (max-width: 768px) {
    .login-page .logo-section {
        gap: 10px;
    }

    .login-page .logo {
        width: 60px;
        height: 60px;
        font-size: 20px;
        margin-left: 15px;
    }

    .login-page .logo-arabic {
        width: 280px;
        height: 62px;
    }

    .login-page .logo-english {
        font-size: 24px;
        margin-top: -7px;
    }

    .login-page .logo-tagline {
        font-size: 11px;
        margin-top: -10px;
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .login-page .logo-section {
        flex-direction: column;
        gap: 8px;
        padding: 0 15px;
    }

    .login-page .logo {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-left: 0;
    }

    .login-page .logo-arabic {
        width: 240px;
        height: 53px;
    }

    .login-page .logo-english {
        font-size: 20px;
        margin-top: -5px;
        line-height: 1.2;
    }

    .login-page .logo-tagline {
        font-size: 10px;
        margin-top: -8px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .login-page .logo-arabic {
        width: 200px;
        height: 44px;
    }

    .login-page .logo-english {
        font-size: 18px;
    }
}
.login-page h1 {
    color: #2d5f3f;
    font-size: 60px;
    margin-bottom: 10px;
    text-align: center;
}

.login-page .form-group {
    margin-bottom: 25px;
}

.login-page label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-page input[type="text"],
.login-page input[type="email"],
.login-page input[type="password"],
.login-page select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-left: 4px solid #a8c66c;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.login-page input:focus,
.login-page select:focus {
    outline: none;
    border-color: #a8c66c;
    box-shadow: 0 0 0 3px rgba(168, 198, 108, 0.1);
}

.login-page select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="8"%3E%3Cpath fill="%23333" d="M0 0l6 8 6-8z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.login-page .checkbox-group {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    text-align: right;
}

.login-page .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

    .login-page .checkbox-label input {
        cursor: pointer;
    }

.login-page .forgot-password {
    color: #2d5f3f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .login-page .forgot-password:hover {
        color: #1a3d29;
    }

.login-page .login-button {
    width: 36%;
    padding: 14px;
    background: #0d4a4a;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto; 
    display: block;
    margin-bottom: 10px;
}

    .login-page .login-button:hover {
        background: #0a3636;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13, 74, 74, 0.3);
    }

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

@media (max-width: 968px) {
    .login-page .card {
        flex-direction: column;
    }

    .login-page .right-section {
        min-height: 300px;
        order: -1;
    }

    .login-page .left-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .login-page body {
        padding: 10px;
    }

    .login-page .left-section {
        padding: 30px 20px;
    }

    .login-page h1 {
        font-size: 26px;
    }

    .login-page .logo {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .login-page .logo-english {
        font-size: 16px;
    }
}

.login-page ::placeholder {
    color: #999;
}

/*.login-page .badge {
    margin-top: 8px;
}*/

.mr-1, .mx-1 {
    margin-right: 0.375rem !important;
    font-size: 12px !important;
}

.btn-olive {
    background-color: #465338;
}

.btn-lime {
    background-color: #B3C500;
}

.btn-olive-light {
    background-color: #A0A949;
}

.btn-events-lime {
    background-color: #B3C500;
    border-radius: 20px;
    color: white;
}

.text-white {
    color: white;
}

.txt-spinner-success {
    color: #1abc9c !important;
    margin: 0 auto;
}

.icon-size{
    font-size: 20px;
}

.logo-password {
    display: flex;
    margin-left: 72px;
}

.reset-logo {
    display: flex;
    margin-left: 80px;
}

.th-collapse-fixed {
    z-index: 10;
    background: #dfe8c9;
}