
html,body {
    background-color: white;
    padding-top: 100px; /* This will be overridden dynamically by JS */
    color: #333333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#socialNav {
    background-color: #1a1a2e;
    color: white;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100px;
    z-index: 1030;
    transition: top 0.3s ease-in-out;
}

#mainNav {
    background-color: #16213e;
    color: white;
    width: 100%;
    position: fixed;
    top: 100px; /* initially pushed below socialNav */
    z-index: 1029;
    transition: top 0.3s ease-in-out;
}



/* On small screens (below 768px), increase social-nav height */
  @media (max-width: 767.98px) {
    .social-nav {
        height: 100px;
        }

 .main-nav {
        top: 100px; /* adjust to sit below the taller social nav */
    }
}




 .card-body {
        overflow-x: hidden;
    }

    .form-control {
        width: 100%;
    }


/* Make nav links visible and nice-looking */

@media (max-width: 768px) {
  /* Force navbar nav links color + font size */
  .navbar .navbar-nav .nav-link {
    font-size: 1.3rem !important;
    color: white !important;
    padding: 0.6rem 1rem;
  margin-bottom: 6px;
   text-decoration:none !important;
  }

  /* Force dropdown menu styling */
  .navbar .dropdown-menu {
    background-color: #16213e !important;
  }

  .navbar .dropdown-menu .dropdown-item {
    font-size: 1.2rem !important;
    color: yellow !important;
    padding: 0.5rem 1rem;
  margin-bottom: 6px;
    text-decoration:none !important;  
}

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }
}






@media (max-width: 991.98px) {
    .navbar-toggler {
        width: 40px;
        height: 40px;
        padding: 0;
        border: 2px solid white;
        background-color: #16213e;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler-icon {
        width: 100%;
        height: 100%;
        background-size: 60% 60%;
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        border-radius: 4px; /* optional */
    }
}

    


    .nav-link, .navbar-brand {
        color: white;
    }

    .nav-link:hover {
        color: #ffd700;
    }

    .container-content {
        margin-top: 10px;
    }

 
    .nav-link i {
        transition: color 0.3s ease;
        color:lightskyblue
        
    }
    .nav-link:hover i {
        color: #DAA520; 
        }


    .page-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }


.main-content {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}


 
    footer {
        background-color: #f8f9fa;      
        text-align: center;
        border-top: 1px solid #ddd;
        margin-top: 150px;
        width:100%
    }


table {
 border-collapse: collapse;
 width: 100%;

    }


table thead th,td { 
 text-align: center;
 vertical-align: middle;
 padding: 10px;
    }


 table td{   
    white-space: nowrap;
    padding: 10px;
    }


table th{   
        white-space: normal;
        padding: 10px;
        }
    

   
.table {
    border-collapse: collapse;
    width: 100%;
   
       }
   
   
.table,thead, th,td { 
    text-align: center;
    vertical-align: middle;
    padding: 10px;
       }
   
   
.table, td{   
    white-space: nowrap;
    padding: 10px;
       }
.table, td{   
    white-space: normal;
    padding: 10px;
        }
        


/* Ensure Select2 fields take up full width */
.select2-container {
    width: 100% !important;
    min-width: 100px !important;
    max-width: 200px !important; /* Prevent overflow */
}

/* Adjust the size and appearance of Select2 input fields */
.select2-container--default .select2-selection--single {
    font-size: 16px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 5px 10px !important;
    border-radius: 5px;
}

/* Ensure dropdown width matches field width */
.select2-container--default .select2-dropdown {
    width: 100% !important;
    min-width: 150px !important;
}

.select2-results__option {
    font-size: 16px !important;
    padding: 8px 10px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    width: 100% !important;
    font-size: 14px;
    padding: 5px;
}

.select2-dropdown {
    left: auto !important;
    right: 0 !important; 
    z-index: 9999 !important; 
}


@media (max-width: 768px) {
    .select2-container {
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .select2-container--default .select2-selection--single {
        font-size: 14px !important;
        height: 35px !important;
    }
}




@keyframes marquee {
    0% {
        transform: translateX(100%); 
    }
    100% {
        transform: translateX(-100%); 
    }
}


@keyframes textAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); 
    }
}



@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
   }
   
   @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
   }


   @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
   }

   @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
   }


   @keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
   }

   @keyframes glow {
    0% { text-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white; }
    50% { text-shadow: 0 0 10px darkorange, 0 0 15px darkorange, 0 0 20px darkorange; }
    100% { text-shadow: 0 0 5px yellow, 0 0 10px yellow, 0 0 15px yellow; }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
    }






    .navbar-brand {
        font-size: 20px;
        font-weight: 700;
        color: #00FFFF !important;  /* Cyan text */
        -webkit-text-fill-color: #00FFFF !important; 
        -webkit-text-stroke: 1px white;  /* Dark Blue stroke */
        text-shadow: 0px 0px 5px rgba(0, 255, 255, 0.7); /* Glowing effect */
    }
    
    .navbar-brand:hover {
        color: #081dfa !important;
        -webkit-text-fill-color: #081dfa !important;
        -webkit-text-stroke: 1px #00ffd0; /* Magenta stroke */
    }
    
    
    

 .menu-color{
     color:white;
    
 }





.user-info {
    text-align: center; 
    }

.profile-picture {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    }

.welcome-message {
    font-size: 14px;
    white-space: nowrap;
    color: yellow;
    }




.navbar .nav-link .fas.fa-bell {
    color: white;  
    font-size: 20px;
    }



    .notification-dropdown {
        max-height: 400px; 
        overflow-y: auto; 
        width: 500px; 
        padding: 10px; 
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
        border-radius: 8px; 
        background-color: black; 
       }
       
    .notification-scroll {
        max-height: 300px; 
        overflow-y: auto; 
       }
       
    .notification.unread {
        font-weight: bold; 
        background-color: gray; 
        padding: 8px;
        border-radius: 5px;
        margin-bottom: 5px; 
         }
    
       
    .notification p:hover  {
        
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        cursor: pointer; 
       }
    
    .notification p {
        margin: 0; 
        white-space: normal; 
        word-break: break-word; 
       }
    
   
.badge.bg-danger {
    position: absolute;
    top: 8px; 
    right: 5px;
    font-size: 0.75rem;
    padding: 0.3em 0.4em;
    border-radius: 50%;
   }
   


.navbar .nav-link .fas.fa-bell.new-notification {
    color: #FF5733; 
    animation: shake 1s ease-in-out infinite;

   }

.navbar .nav-link .badge {
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
}




   .fas.fa-bell.new-notification {
    color: #FF5733; 
    animation: spin 5s ease-in-out infinite;
   
}




.menu-card {
     text-align: center;
     padding: 10px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     border-radius: 10px;
     background-color: aliceblue;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     width:120px;
     height:100px;

    align-items: center;
    justify-content: center;
    
 }

 .menu-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .menu-icon {
     font-size: 1.5rem;
     color: #007bff;
     width:20px;
     height:20px;
     justify-content: center;
 }

 .menu-title {
     margin-top: 10px;       
     font-size: 1rem;
     font-weight: 600;
     color: #333;
     text-align: center;
     
 }

   

/* for core dashboard.............................. */

.menu-card1 {    
    animation: shake 5s ease-in-out infinite;    
}
.menu-card2 {    
    animation: rotate 5s ease-in-out infinite;    
}
.menu-card3 {    
    animation: shake 5s ease-in-out infinite;    
}

ul.custom-arrow-list {
    list-style: none; 
    padding-left: 20px; 
}

ul.custom-arrow-list li::before {
    content: "\21D2";  
    color: blue;  
    font-size: 1.2rem;  
    margin-right: 10px; 
    font-weight: bold; 
}

ul.custom-arrow-list li {
    margin-bottom: 5px; 
    font-family: Arial, sans-serif; 
    font-size: 1.2rem; 
    color: #333333; 
}


.box1 {
    animation: shake 5s ease-in-out infinite;  
}

.box2 {
    animation: shake 5s ease-in-out infinite;  
}

.box3 {
    animation: shake 5s ease-in-out infinite;  
}


.carousel-caption {
    transition: opacity 3.5s ease-in-out;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    opacity: 0;
    transition: opacity 3.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}
 


.image_size{  
    height:400px;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap; 
    position: relative; 
    width: 100%; 
    padding:0;  
    top:0
}


.marquee-content {
    font-size: 2em; 
    margin-right: 20px; 
    animation: marquee 50s linear infinite; 
    top:0
}


.marque-text-1{
    color: darkblue;

}
.marque-text-2{
    color: yellow;

}
.marque-text-3{
    color: black;

}

/* for notice board.................................... */


.notice-board {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.notice-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
}

.notice-board-header h5 {
    margin: 0;
    font-size: 18px;
}

.btn-close {
    color: white;
    font-size: 18px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.8;
}

.notice-board-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    
}

.list-group-item {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    padding: 10px;  
  
}

.list-group-item:hover {
    background-color: #e9ecef;
    transform: scale(1.02);
}

.notice-title {
    font-weight: bold;
    color: #007bff;
}

.notice-date {
    font-size: 14px;
    color: #6c757d;
}

.notice-image {
    display: block;
    margin: 10px auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.no-attachment {
    color: #dc3545;
    font-size: 14px;
}


/* for task app...................................................  */

.progress {
    background-color: #eb1616 !important;
}

.fa.fa-exclamation-circle {
    color: white;  
    animation: spin 5s infinite, glow 5s ease-in-out infinite;
}
   
    
.fas_fa_spin_icon {
    color: red;  
    animation: spin 5s infinite, glow 5s ease-in-out infinite;
}


    /* Circular spinning login box */
    .login-circle-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 30px 0;
        position: relative;
    }

    .login-circle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: 150px;
        background: white;
        color: #333;
        text-decoration: none;
        font-size: 20px;
        font-weight: bold;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        animation: spin 15s linear infinite;
        transition: transform 1s ease;
    }

    .login-circle:hover {
        transform: scale(1.1);
        background: #f0f0f0;
    }

   



    /* Alert styles */
    .alert {
        padding: 15px;
        margin: 20px 0;
        border: 1px solid transparent;
        border-radius: 4px;
        font-size: 14px;
    }

    .alert-danger {
        background-color: #f8d7da;
        color: #721c24;
        border-color: #f5c6cb;
    }

    .alert-success {
        background-color: #d4edda;
        color: #155724;
        border-color: #c3e6cb;
    }

    .tenant-details p {
        margin: 5px 0;
    }


   


   
.animate {        
    animation: shake 5s ease-in-out infinite;         
       
    }

   
   
.loader-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40%; 
        height: 40%; 
        background-color: rgba(255, 255, 255, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        }
        
 .loader-container .loader {
        border: 10px solid darkorange; 
        border-top: 10px solid #3498db; 
        border-radius: 50%;
        width: 70px; 
        height: 70px; 
        animation: spin 3s linear infinite;
        }
        
.loading-text {
        margin-top: 10px; 
        font-size: 20px; 
        color:blue
        }
            
  









