/*
Theme Name: Reno Guys CRM
Author: Ivan Mouzykin
Description: A basic theme for a CRM.
Version: 1.0
*/

body{
    color: #6c757d;
    background-color: #fafbfe;
}


/*Login page*/

/* Custom Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f5f5f5;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 150px;
    height: auto;
}

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

.login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.login-form .input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.login-form .remember-me {
    display: flex;
    align-items: center;
}

.login-form .remember-me input {
    margin-right: 10px;
}

.login-form .button-primary {
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.login-form .button-primary:hover {
    background-color: #005177;
}

.login-links {
    margin-top: 20px;
    text-align: center;
}

.login-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/*Main*/


/*NAVBAR*/

.navbar-custom {
    background: white;
    -webkit-box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, 0.15);
    box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, 0.15);
    min-height: 70px;
    margin-left: 0px;
    position: sticky;
    top: 0;
    -webkit-transition: all .25sease-in-out;
    transition: all .25sease-in-out;
    z-index: 1000;
}

.navbar-custom .topbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
}

.navbar-custom .topbar-menu .nav-link {
    padding: 0;
    position: relative;
    color: #6c757d;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 70px;
    cursor: pointer;
}

.nav-user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    border-width: 0 1px;
    border-style: solid;
    border-color: #eef2f7;
    background-color: #fafafd;
    min-height: 70px;
    -webkit-transition: none;
    transition: none;
}


.logo {
    display: block;
    top: 0;
    position: sticky;
    text-align: center;
    line-height: 70px;
    padding: 0 20px;
    -webkit-transition: all .25sease-in-out;
    transition: all .25sease-in-out;
}

.logo span.logo-sm {
    display: none;
}

/* Search dropdown styling */
.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    margin-top: 3px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.search-results-container .dropdown-item {
    white-space: normal;
    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: background-color .2s;
}

.search-results-container .dropdown-item:hover {
    background-color: #f8f9fa;
}

.see-all-results {
    background-color: #f1f2fe;
    color: #727cf5;
    font-weight: 500;
}

.see-all-results:hover {
    background-color: #e9eafd;
    color: #5e64c4;
}



/*SIDE*/

.side-nav {
    padding-left: 0;
    list-style-type: none;
}

.side-nav .side-nav-link {
    text-decoration: none;
    display: block;
    list-style: none;
    position: relative;
    white-space: nowrap;
    color: #8391a2;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    font-size: .975rem;
    padding: 15px 10px;
}

.side-nav .side-nav-link:active, 
.side-nav .side-nav-link:focus, 
.side-nav .side-nav-link:hover{
    color: #bccee4;
    text-decoration: none;
}

.side-nav .side-nav-link i {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 1.2ren;
    line-height: v1.2rem;
    width: 50px;
    min-width: 50px;
}

.side-nav .side-nav-link span {
    vertical-align: middle;
}


/*Main */

.kanban-view {
    display: block;
}
.list-view {
    display: block;
}
.kanban-view.list-view, .list-view.kanban-view {
    display: none;
}

.leftside-menu {
    z-index: 1000;
    bottom: 0;
    top: 0;
    position: fixed;
    width: 260px;
    min-width: 260px;
    margin-left: -260px;
    padding-bottom: 60px;
    -webkit-box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, 0.15);
    box-shadow: 0px 0px 35px 0px rgba(154, 161, 171, 0.15);
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.wrapper.active .leftside-menu{
    margin-left: 0px;
}

.content-page {
    position: relative;
    margin-left: 0px;
    min-height: calc(100vh - 70px - 2px);
    padding-bottom: 60px;
    -webkit-transition: all .25sease-in-out;
    transition: all .25s ease-in-out;
}

@media (min-width: 767.98px) {
    .content-page {
        margin-left: 260px;
    }
    .leftside-menu {
        margin-left: 0px;
    }
    .navbar-custom{
        margin-left: 260px;
    }
}

.board {
    display: block;
    white-space: nowrap;
    overflow-x: auto;
}

.board .column {
	min-height: 300px;
	position: relative;
    display: inline-block;
    width: 22rem;
    padding: 0 1rem 1rem 1rem;
    vertical-align: top;
    margin-bottom: 1.5rem;
    border-radius: .25rem;
    border: 1px solid #dee2e6;
}

.board .column:not(:last-child) {
    margin-right: 1.25rem;
}

.column-title{
    color: var(--bs-heading-color);
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: calc(.8rem + .3vw) !important;
}

.card{
    border: none !important;
}

.card-header{
    background: none !important;
}

.card .header-title{
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: calc(.8rem + .3vw) !important;
}

.partner-card,
.client-card{
    cursor: pointer;
    transition: all 150ms ease;
}

.partner-card:hover,
.client-card:hover{
    background-color: white !important;
}

.avatar-xs {
    height: 1.5rem;
    width: 1.5rem;
}


.is-dragging {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0.8;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gu-hide {
    display: none !important;
}

.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}


/*TABLE*/

.table>:not(caption)>*>* {
    padding: .95rem .95rem;
    vertical-align: middle;
}

.form-check-input[type=checkbox] {
    border-radius: 50%;
}

.text-bg-info {
    color: #39afd1 !important;
    background-color: #ebf7fa !important;
}

.text-bg-success{
    color: #0acf97 !important;
    background-color: #e7faf5 !important;
}

.badge-primary{
    color: #727cf5 !important;
    background-color: #f1f2fe !important;
}

.text-bg-warning{
    color: #ffc35a !important;
    background-color: #fff9ef !important;
}

.text-bg-danger{
    color: red !important;
    background-color: #fce6e6 !important;
}


/* Add this to your theme's CSS */

/* List.js Controls */
.list-js-controls {
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* Indicate sortable columns */
th.sort {
    cursor: pointer;
    position: relative;
}

th.sort:after {
    content: "↕";
    position: absolute;
    right: 8px;
    opacity: 0.5;
}

th.sort.asc:after {
    content: "↑";
    opacity: 1;
}

th.sort.desc:after {
    content: "↓";
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .filter-group {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
    
    .list-js-controls .row {
        margin-bottom: 0 !important;
    }
    
    .list-js-controls .col-md-6:last-child {
        margin-top: 10px;
    }
}

#task-container tr[data-status="completed"] {
    opacity: .3;
}