
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}
:root {
    --header-height: 3.5rem;
    --blue:#066D97;
    --light-blue: #6AA9BF;
    --green:#0A8B58;
    --light-green:#6CB99D;
    --brown:#9F713E;
    --light-brown:#C5AA8B;
}
*, ::after, ::before{
    box-sizing: border-box;
}
body{
    /*font-size: 0.875rem;*/
    opacity: 1;
    overflow-y: scroll;
    margin: 0;
    background: var(--bg);
}
a{
    cursor: pointer;
    text-decoration: none !important;
}


.btn:focus, .btn:active,
input:focus, input:active,
select:focus, select:active,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--blue);
}

a:focus {
    outline: none !important;
    box-shadow: none !important;
}


.pagination .page-item a{
    border: none !important;
    background: transparent !important;
    color: gray !important;
}
.pagination .page-item.active a{
    color: var(--dark-grey-2) !important;
}

.modal-header {
    justify-content: flex-start; 
}

.modal-header .btn-close {
    margin-right: auto !important;
    margin-left: 0 !important; 
}

/*-------------------------------*\

*   Layout 

\*-------------------------------*/
.wrapper{
    align-items: stretch;
    display: flex;
    width: 100%;
}
#sidebar{
    max-width: 264px;
    min-width: 264px;
    background: #05516f;
    overflow: hidden;
    color: white !important;
}

.main{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background: var(--bg);
}
.page-title h4{
    color: var(--blue);
}
nav{
    display: flex;
    justify-content: space-between;
}


/* --------------- *\

* Sidebar elements 

\* ---------------- */

.sidebar-logo{
    padding: 1.15rem ;
}
.sidebar-logo a img{
    height: 5rem;
}
.sidebar-nav{
    flex-grow: 1;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
}
.sidebar-header{
    color: rgba(102, 51, 153, 0);
    font-size: 0.75rem;
    padding: 1.5rem 1.5rem .375rem;
}
 .sidebar-link{
    padding: 0.625rem 1.625rem;
    color: white !important;
    position: relative;
    display: block;
    font-size: 1rem;
}





.sidebar-link[data-bs-toggle="collapse"].collapsed::after{
    border: solid;
    border-width: 0 0.75rem .0075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    left: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}
.sidebar-link[data-bs-toggle="collapse"].collapsed::after{
    transform: rotate(45deg);
    transition: all .2s ease-out;
}
/* sidebar toggle */
#sidebar.collapsed{
    margin-left: -264px;
}




#sidebar.collapsed{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.35s ease-in-out;
}

/* When expanded, show the content */
#sidebar .sidebar-nav,
#sidebar .sidebar-logo {
    visibility: visible;
    opacity: 1;
}
.change-lang{
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 3rem;
    position: fixed;
    bottom: 15px;
    right: 3.5%;
    z-index: 20000 !important;
}
.change-lang button{
    background: transparent;
    border: 1px solid var(--light-blue);
    color: var(--light-blue) !important;
    padding: 2px 5px;
}
/* --------------- *\

* Navbar

\* ---------------- */
nav{
    display: flex;
    justify-content: space-between !important;
}
.navbar-expand{
    display: flex;
    justify-content: center;
}
.navbar-expand .navbar-nav{
    margin-right: auto;
    margin-left: 2rem;
}
.badge{
    background: #000;
}
.username{
    color: gray;
}

/*--------------------*\
* index page / statics
\*----------------------*/
.statics-section{
    margin-top: 5rem !important;
    border: 1px solid gainsboro;
    border-radius: 14px;
    padding: 2rem 0.8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.034);

}
.quick-links{
    margin-top: 5rem !important;
    border: 1px solid gainsboro;
    border-radius: 14px;
    padding: 5rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.034);
    margin-bottom: 6rem;
}
.quick-links a{
    background: var(--dark-grey);
    color: white !important;
    text-decoration: none !important;
    transition: 0.3s;
}
.quick-links a:hover{
    background: var(--dark-grey-2);
    color: white !important;
    text-decoration: none !important;
}

.registration-btn{
    background: var(--gold) !important;
    color: white !important;
    margin-left: 5px;
    padding: 8px 25px !important;
    font-size: 1.2rem !important;
}
.registration-btn:hover{
    background: #bf8938c6 !important;
}
#winnersChart{
    height: 650px !important;
    width: 650px !important;
}
/*--------------------*\
* chnage password page
\*----------------------*/
.form-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-direction: column; 
}

.form-container form {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; 
}
.change-pass-btn{
    background: var(--gold-light) !important;
}

/*--------------------*\
* 
\*----------------------*/

.table{
    margin: 0 auto;
}

table {
    width: 100%;  
    overflow-x: scroll !important;
    font-size: 14px;

}
th, td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}
th {
    background-color: #f2f2f2;
}
.table .form-select {
    font-size: 12px; 
}

.table .btn {
    font-size: 14px;
}
.table  .btn i {
    font-size: 14px;
}


.general-btns a{
    padding: 4px 25px !important;
    font-size: 1.2rem;
}
.general-btns .add-btn{
    background: var(--blue) !important;
    color: white !important;
    margin-left: 5px;
}
.general-btns .add-btn:hover{
    background: var(--light-blue) !important;
}
.general-btns .filter-btn{
    background: var(--dark-grey) !important;
    color: white !important;
}
.general-btns .filter-btn:hover{
    background: #808080ce !important;
}
td{
    width: 300px; 
    max-width: 300px; 
    word-wrap: break-word; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
}
.add-new-opp-page label{
    color: rgb(112, 112, 112) !important;
}
.add-new-opp-page .form-control ,
.add-new-opp-page select{
    background: #F8FAFC; border: 1px solid #ecf0f4;
}
.btn-primary{
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}
.btn-primary:hover{
    background: #065371 !important;
}

/* Login */

.left-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #6AA8BF, #6CB7A0, #C1AB8C);
    height: 100vh;
}
.left-section img {
    max-width: 80%;
    height: 220px;
}
.login nav{
    background: linear-gradient(45deg, #6AA8BF, #6CB7A0, #C1AB8C);   
}
.top-navbar img {
    height: 80px;
}
@media (max-width: 768px) {
    .left-section {
        display: none;
    }
    .top-navbar {
        display: flex !important;
    }
    .login nav{
        margin-bottom: 5rem !important;
    }
}

/*--------------------*\

* Media Querey 

\*----------------------*/

@media (min-width:768px){
    .content{
        max-width: auto;
        width: auto;
    } 
}

