body{
    font-family: 'Roboto', sans-serif;
    color: #2C2C2C;
    line-height: 1.6;
}

a{
    color: #3155DD;
    text-decoration: none;
}

.sign-in-form {
    max-width: 450px;
}

.login-text{
  font-size:1.8em;
  text-align: center;
  margin-top:20px;
  margin-bottom:20px;
}

.space{
  height:80px;
}

.form-outline{
  margin-bottom:15px;
}

.select-wrapper{position:relative; top:6px;}

.breadcrumbs{
  margin-bottom:10px;
  font-size:0.9em;
}

.item{
  width:100px; 
  border:1px solid #bbb;
  position:absolute !important;
  text-align:right;
  border-radius: 2px;
  padding-right:5px;
  color:#fff;
  font-size:0.8em;
  line-height:1.3em;
  border-radius: 3px;
}

.item-line{
  font-weight: bold;
}

.browser-select{
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    height:35px;
}
.datatable td {
  overflow: visible; /* this is what fixes the expansion */
  text-overflow: unset !important;
  white-space: nowrap;
  max-width: min-content !important;
}
.fl-right{
    float:right;
}
.image-dropped-div{
    position:relative;
    width:100px;
    height:140px;
    text-align:center;
    border:1px solid #bdbdbd; 
    border-radius:3px;
    margin-right:5px;
    float:left;
}
.image-dropped{
    max-width:95%;
    max-height:95%;
    margin-top:2.5%
}
.image-dropped-wrapper{
    height:80px;
}
.image-dropped-filename{
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    margin: 0 2px 0 2px;
    height: 28px;
}
.visualize-delete-dropped-div{
    height:30px;
    border-top:1px solid #bdbdbd;
    text-align: center;
}
.visualize-dropped-div{
    width:50%;
    display:inline-block;
}
.delete-dropped-div{
    border-left:1px solid #bdbdbd;
    height:100%;
    display:inline-block;
}
.box-shadow-none{
    box-shadow: none;
}
.box-shadow-none:hover{
    box-shadow: none;
}
.box-shadow-none:focus{
    box-shadow: none;
}

@media (min-width: 1400px) {
    main,
    header,
    #main-navbar {
        /*padding-left: 240px !important;*/
    }
}

body {
    background-color: #fbfbfb;
}

main{
    margin-top:0px;
}
.text-right{text-align:right!important}
.text-left{text-align:left!important}

#calendar{ max-height: 700px; }

.select-wrapper{ position: initial !important; }
.table-responsive { /*overflow: visible !important; */}

td{ overflow:visible !important; }

.form-label-select{
    position:relative;
    top:-44px;
    left:8px;
    font-size:12px;
    background-color:white;
    padding: .5px 3px;
}

.select-input-2 {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 5px;
    margin-right: 2rem;
}

.notification-item{
    width:300px;
    border-bottom:1px solid lightgray;
}

.notification-item:last-child{
    border-bottom:none;
}

.whitespace-none{
    white-space: normal !important;
}
.event-created{
    background-color: #093d94;
    color: white;
}
.event-dispatched{
    background-color: #94095c;
    color: white;
}
.event-accepted{
    background-color: #949009;
    color: white;
}
.event-travel{
    background-color: #099494;
    color: white;
}
.event-on-site{
    background-color: #946909;
    color: white;
}
.event-return-needed{
    background-color: #940909;
    color: white;
}
.event-work-done{
    background-color: #09942d;
    color: white;
}
.ws-order-box-calendar{
    border: 1px solid #e0e0e0;
    padding: 5px;
    margin-bottom: 8px;
    border-radius: 3px;
    width: 100%;
    height: 100%;
    overflow:hidden;
    font-size: small;
    background-color: #f4f4f4;
}
.ws-order-box-calendar-wrapper{
    padding: 5px;
    width: 100%;
    height:100px;
    overflow: hidden;
    cursor: pointer;
}
.ws-order-box-calendar-wrapper-dropped{
    resize: vertical;
    position: absolute !important;
    width: auto;
    left: 0;
    right: 0;
}
.calendar-ws-orders td{
    height: 0;
    overflow: hidden !important;
}
@-moz-document url-prefix() { 
    .calendar-ws-orders tr{
        height: 100%;
    }
    .calendar-ws-orders td{
        height: 100%;
        overflow: hidden !important;
    }
}
.absolute-div{
    background-color:white;
    width: 100%;
    height: 100%;
}
.no-pointer-events{
    visibility: hidden;
}
.multiple-lines-background{
    background-color: #fff;
    background-image: linear-gradient(#e0e0e0 1.5px, transparent 1.5px);
    background-size: 100% 40px;  
    background-position-y: 3.15%;
}
.form-label{
    white-space: nowrap;
}
.form-outline{
    overflow-x: clip;
}
.cursor-pointer{
    cursor: pointer;
}
.comment-below-input{
    margin-top: -25px;
    font-size: 11px;
    padding-left: 10px;
}
.table-xs td, .table-xs th{
    padding: .5rem 0.6rem !important;
}
td.td-inside, th.td-inside{
    padding:0px !important;
}
.red-border{
    border-color: red !important;
}
.red-border:focus{
    border-color: red !important;
    box-shadow: inset 0 0 0 1px red;
    -webkit-box-shadow: inset 0 0 0 1px red;
}
.autocomplete-form-outline-red{
    border:1px solid red; 
    border-radius:.25rem
}
.autoc-red:focus{
    box-shadow: inset 0 0 0 1px red !important;
    -webkit-box-shadow: inset 0 0 0 1px red !important;
}
.border-top-input-line{
    border-bottom:0;
    border-top:2px solid #e0e0e0;
}
.fco{
    border-radius: 3px;
    border: 1px solid #7e7e7e;
    padding: 1px 5px;
}
input[readonly]{
    color:gray !important;
}
.recipient-buffer-item{
    background-color: #e3e3e3;
    border-radius: 5px;
    padding: 2px 10px;
    display: inline-block;
    margin-right: 3px;
}
.recipient-buffer{
    margin-bottom: 15px;
}
.mr-5{
    margin-right: 5px;
}
.nowrap{
    white-space: nowrap;
}
.phone-tabs-wrapper{
    position:fixed;
    bottom:0;
    height:80px;
    background-color:white;
    width: 100%;
    width: -moz-available; 
    width: -webkit-fill-available; 
    width: fill-available;
    -webkit-box-shadow: 0px 1px 5px 3px #676767; 
    box-shadow: 0px 1px 5px 3px #676767;
}

.nav-tabs .nav-link-phone {
    border: solid transparent;
    border-width: 2px 0px 0px;
    border-radius: 0;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 500;
    font-size: 12px;
    color: rgba(0, 0, 0, .6);
    padding: 10px 0px;
}

@media (max-width: 450px) {
    .nav-tabs .nav-link-phone {
        font-size: 2.7vw;
    }
}

.simple-error{
    color:red;
}

#notifications-dropdown-navigation{
    right: 0px !important
}

@media (max-width: 567px) {
    #notifications-dropdown-navigation{
        right: -185px !important
    }
}

.mentionable-users-div{
    position:absolute;
    top:0px;
    left:0px;
    z-index:999999;
    background-color:white;
    width:200px;
    max-height:200px;
    height:auto;
    overflow-y:auto;
    padding:3px;
    border:1px solid #e3e3e3;
    border-radius:3px;
}

.mentionable-users-div-row{
    padding:2px;
    cursor: pointer;
}

.mentionable-users-div-row:hover{
    background-color: #e3e3e3;
}

div[contenteditable="true"] {
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    border: 1px solid gray;
    height: 28px;
    overflow: auto;
    padding: 2px;
    resize: vertical;
    width: 400px;
}

.mentioned-user{
    background-color:#4f49ff;
    color:white;
    border-radius: 4px;
    padding:1px 4px;
}

.ui-autocomplete{
    z-index:99999 !important;
}

.user-image{
    width: 3rem;
    border-radius: 50%;
    margin-bottom: .5rem;
}

.ui-multiselect{
    white-space: nowrap;
}

.table-dashboard thead{
    color: #8D918B !important;
}

.collapse-div-navigation-left{
    position: absolute;
    right: -5px;
    color: #252831;
    top: 87px;
    background-color: white;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 2px solid #252831;
    z-index: 9;
}

.content-with-sidenav{
    padding-left: 240px !important;
}

.content-no-sidenav{
    padding-left:0px !important;
}

.sidenav-1-closed .collapse-div-navigation-left{
    display: none;
}

.sidenav-1-closed{
    transform: translateX(-100%) !important;
}

.sidenav-1-opened{
    transform: translateX(0%) !important;
}

@media (max-width: 1399px) {
    .content-with-sidenav{
        padding-left:0px !important;
    }
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(155, 155, 155, 0.5);
    border-radius: 10px;
    border: transparent;
}

.large-checkbox{
    /* Double-sized Checkboxes */
    -ms-transform: scale(1.5); /* IE */
    -moz-transform: scale(1.5); /* FF */
    -webkit-transform: scale(1.5); /* Safari and Chrome */
    -o-transform: scale(1.5); /* Opera */
    transform: scale(1.5);
    padding: 10px;
}

label:empty{
    display:none !important;
}

.table {
    --bs-table-hover-color: #2C2C2C;
    --bs-table-hover-bg: rgba(199, 161, 106, 0.1);
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
    background-color: white !important;
    border: 1px solid #808080 !important;
    overflow-x:hidden !important;
}

.ui-widget {
  font-family: Inter !important;
}

.clickable-breadcrumb-item{
    background-color: #dbdbdb;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: bold;
    color: black;
}

.property-name{
    color:#979696;
}

.property-value{
    font-weight: bold;
}

.page-action-button{
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    
    color:#4f4d4d;
    margin-left:10px;
}

.action-button-with-icon{
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    
    color:#4f4d4d;
    margin-left:10px;
}

.card-header-hr{
    border: 2px solid #6A63B8;
    opacity: 1;
    margin-top: 0px;
}

.panel-header-action-button{
    background: none;
    color: #6A63B8;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.nav-tabs-page-view{
    background-color: #c4c4c4;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    margin-bottom:0px !important;
}

.nav-link-page-view{
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    
    padding: 10px 6px !important;
    text-transform: none !important;
    border-top-left-radius: 7px !important;
    border-top-right-radius: 7px !important;
    height: 100%;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

.active-tab-page-view{
    background-color: white;
    color: green !important;
}

.select-simple-sm{
    background-color:white;
    border-style:solid;
    border: 1px solid #979696;
    border-radius: 7px;
    padding:1px 5px;
    height:25px !important;
    font-size:13px;
}

.panel-subtitle-div{
    background-color: #e1e1e1;
    padding: 5px;
    font-weight: bold;
}

.btn-xs{
    padding: 4px 9px;
    font-size: 13px;
    line-height: 1.4;
    text-transform: none;
}

.alert-sm{
    padding:0.5rem;
}

.td-property-name{
    max-width: 100px;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-results__option{
    font-size: 12px;
    padding: 5px;
}

.select2-search__field{
    padding:3px;
}

.past-due-task{
    border: 3px solid #db5461;
}

.required-star{
    color: red;
}

.required-star::after {
    content: "*";
}

.required-border-activated{
    border:2px solid #db5461 !important;
}

.sub-table-style{
    background-color:#dfdfdf;
}

.time-slip-details{
    border:1px solid #dfdfdf;
    padding:3px;
    margin-bottom:5px;
    border-radius: 5px;
}

.time-slip-details-start-time{
    color:orange;
}

.report_filter .form-control{
    height:30px !important;
}

.report_filter .select-arrow{
    top:6px !important;
}

.bg-primary-light {
    background-color: #5277B3!important;
}

.bg-secondary-light {
    background-color: #CE8DF7!important;
}

.bg-success-light {
    background-color: #A1E1B3!important;
}

.bg-info-light {
    background-color: #6CCFF6!important;
}

.bg-warning-light-light {
    background-color: #FFF5DF!important;
}

.bg-warning-light {
    background-color: #FFD580!important;
}

.bg-danger-light {
    background-color: #E77E8D!important;
}

.bg-light-light {
    background-color: #F7F7F7!important;
}

.bg-dark-light {
    background-color: #6B6B6B!important;
}

.bg-white-light {
    background-color: #E6E6E6!important;
}

.bg-black-light {
    background-color: #4D4D4D!important;
}

.dropzone .dz-preview .dz-progress {
  display: none !important;
}

.appointment-header{
    background-color:red;
    color:white;
    display: block;
    text-align: center;
    margin-top: -5px;
    padding: 0px;
    margin-left: -5px;
    margin-right: -5px;
    font-size: 9px;
    font-weight: bold;
    margin-bottom: 2px;
}

#stripe-payment-modal {
    width: 800px; /* Adjust the width to your desired size */
    height: 500px; /* Adjust the height to your desired size */
}

.sticky {
    position: fixed;
    top: 75px;
    z-index: 999;
    overflow-x: auto;
    -webkit-scrollbar {
        width: 0;
      }
}

.absolute-thead-parts-progress{
    position: absolute;
    top: 60px;
    z-index: 999;
    overflow-x: auto;
    -webkit-scrollbar {
        width: 0;
      }
}

.table-container{
    overflow-x: auto;
}

.page-label{
    padding:10px;
    font-weight: bold;
    border-radius: 6px;
}

.transparent-loading-full-window{
    position: absolute;
    background-color: #80808080;
    width: 100%;
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
}

.office-calendar-thead th{
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    padding: 11px 13px !important;
}

.day-button-task{
    background-color: #ececec;
    border-radius: 20px;
    padding: 6px 13px;
    color: gray;
    cursor: pointer;
}

.day-button-active{
    background-color: #3155dd;
    color: white;
}

.hide-arrows::-webkit-inner-spin-button,
.hide-arrows::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    moz-appearance: textfield;
}

/* Hide number input arrows on hover */
.hide-arrows:hover::-webkit-inner-spin-button,
.hide-arrows:hover::-webkit-outer-spin-button {
    -webkit-appearance: none;
    moz-appearance: textfield;
}

.stepper-content{
    display: flex !important;
    justify-content: center !important;
    align-items: start !important;
    position:relative !important;
    font-size: small;
}

.stepper-head-icon{
    min-width: 15px;
    min-height: 15px;
    width: 15px;
    height: 15px;
}

/* Mobile Cards Styles */
.cards-container {
    padding: 10px 0;
}

.mobile-card {
    border: 1px solid #6A63B8;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(90, 70, 51, 0.12);
    margin-bottom: 12px;
}

.mobile-card:hover {
    box-shadow: 0 4px 15px rgba(90, 70, 51, 0.2) !important;
    border-color: #5A4633;
}

.mobile-card .card-body {
    padding: 15px !important;
}

.card-field {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 8px !important;
}

.card-field:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.card-label {
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

.card-actions {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px !important;
    margin-top: 12px !important;
}

.card-actions .btn {
    margin: 2px;
    font-size: 0.85rem;
    padding: 6px 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cards-container {
        padding: 5px;
    }
    
    .mobile-card .card-body {
        padding: 12px !important;
    }
    
    .card-field {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    
    .card-label {
        flex-shrink: 0;
        min-width: 80px;
        font-size: 0.8rem;
    }
    
    .card-value {
        text-align: right;
        flex: 1;
        font-size: 0.9rem;
    }
    
    .card-actions .btn {
        font-size: 0.8rem;
        padding: 5px 10px;
        width: 100%;
        margin-bottom: 3px;
    }
}

/* Compact card style for dense layouts */
.compact-card-layout .mobile-card {
    margin-bottom: 8px;
}

.compact-card-layout .mobile-card .card-body {
    padding: 10px !important;
}

.compact-card-layout .card-field {
    margin-bottom: 4px !important;
    padding-bottom: 4px;
}

.compact-card-layout .card-label {
    font-size: 0.75rem;
}

.compact-card-layout .card-value {
    font-size: 0.85rem;
}

/* Enhanced Compact Mobile Cards */
.compact-mobile-card {
    border: 2px solid #6A63B8;
    border-radius: 12px;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(90, 70, 51, 0.15);
    margin-bottom: 15px;
}

.compact-mobile-card:hover {
    box-shadow: 0 6px 20px rgba(90, 70, 51, 0.25) !important;
    border-color: #5A4633;
}

.compact-mobile-card .card-body {
    padding: 0 !important;
}

.compact-card-row {
    background: #ffffff;
    transition: background-color 0.2s ease;
    min-height: 42px;
    border: none;
}

.compact-card-row:hover {
    background-color: #F4EFE7;
}

.compact-card-first {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #F4EFE7;
    border-bottom: 1px solid #6A63B8;
}

.compact-card-last {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.compact-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 15px, #e9ecef 15px, #e9ecef calc(100% - 15px), transparent calc(100% - 15px));
    margin: 0;
}

.compact-card-label {
    flex: 0 0 auto;
    max-width: 40%;
    padding-right: 8px;
}

.compact-card-label small {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.compact-card-value {
    flex: 1 1 auto;
    word-break: break-word;
    max-width: 60%;
}

.compact-card-value span {
    font-size: 0.85rem;
    color: #2c3e50;
    line-height: 1.3;
}

/* Optimizează afișarea badge-urilor în valorile cardurilor */
.compact-card-value span .badge {
    vertical-align: middle;
    max-width: 100px;
    color: white;
}

@media (max-width: 768px) {
    .compact-card-value .badge {
        width: 90px !important;
        font-size: 0.7rem !important;
        padding: 4px !important;
        padding-bottom: 6px !important;
    }
}

.compact-card-actions {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 0 !important;
}

.compact-card-actions .btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    min-width: auto;
}

.compact-card-actions .btn-sm {
    padding: 3px 6px;
    font-size: 0.7rem;
}

/* Special styling for status badges - identic cu cel din tabele */
.compact-card-value .badge {
    width: 110px !important;
    padding: 5px !important;
    overflow-x: hidden !important;
    padding-bottom: 7px !important;
    text-overflow: ellipsis !important;
    margin-right: 3px !important;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    display: inline-block;
    text-align: center;
}

/* Asigură că badge-urile din carduri arată identic cu cele din tabele */
.compact-mobile-card .badge {
    width: 110px !important;
    padding: 5px !important;
    overflow-x: hidden !important;
    padding-bottom: 7px !important;
    text-overflow: ellipsis !important;
    margin-right: 3px !important;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .compact-mobile-card {
        border-radius: 10px;
    }
    
    .compact-card-row {
        min-height: 38px;
        padding: 8px 12px !important;
    }
    
    .compact-card-label {
        max-width: 45%;
    }
    
    .compact-card-value {
        max-width: 55%;
    }
    
    .compact-card-label small {
        font-size: 0.7rem;
    }
    
    .compact-card-value span {
        font-size: 0.8rem;
    }
    
    .compact-card-actions {
        padding: 8px 12px !important;
    }
    
    .compact-card-actions .btn {
        font-size: 0.7rem;
        padding: 4px 6px;
        margin: 1px;
    }
}

/* Animation for card loading */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.compact-mobile-card {
    animation: cardFadeIn 0.3s ease-out;
}

/* Phone and Email Links Styling - folosește Bootstrap text-primary */
.phone-link, .email-link {
    color: var(--bs-primary) !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    display: inline;
    transition: color 0.2s ease;
}

.phone-link:hover, .email-link:hover {
    color: var(--bs-primary) !important;
    text-decoration: none !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.phone-link i {
    color: inherit;
    font-size: 0.85em;
    margin-right: 4px;
    transition: color 0.2s ease;
}

.phone-link:hover i {
    color: inherit !important;
}

.email-link i {
    color: inherit;
    font-size: 0.85em;
    margin-right: 4px;
    transition: color 0.2s ease;
}

.email-link:hover i {
    color: inherit !important;
}

/* Asigură compatibilitatea cu cardurile mobile */
.compact-card-value .phone-link, .compact-card-value .email-link {
    font-size: 0.85rem;
}

/* Fallback pentru link-urile vechi cu href tel: și mailto: */
a[href^="tel:"]:not(.phone-link), a[href^="mailto:"]:not(.email-link) {
    color: var(--bs-primary) !important;
    text-decoration: none !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    transition: opacity 0.2s ease;
}

a[href^="tel:"]:not(.phone-link):hover, a[href^="mailto:"]:not(.email-link):hover {
    opacity: 0.8;
}

/* Modern Church Theme Styles */
h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

/* Modern button and form styling for church theme */
.btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1c0072;
    border: none;
    box-shadow: 0 4px 15px rgba(90, 70, 51, 0.2);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #2d1a8a;
    box-shadow: 0 6px 20px rgba(90, 70, 51, 0.3);
    color: #FFFFFF;
}

.form-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 8px;
}

/* Modern card styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(90, 70, 51, 0.1);
    transition: box-shadow 0.3s ease;
    background-color: #FFFFFF;
}

.card:hover {
    box-shadow: 0 6px 25px rgba(90, 70, 51, 0.15);
}

.card-header {
    background-color: #F4EFE7;
    border-bottom: 2px solid #6A63B8;
    border-radius: 12px 12px 0 0 !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #2C2C2C;
}

/* Modern navigation styling */
.sidenav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
}

.navbar {
    backdrop-filter: blur(10px);
    background: linear-gradient(90deg, #4A8DFF 0%, #5B2EFF 100%);
}

/* Modern table styling */
.table {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
}

.table thead th {
    font-weight: 600;
    color: #2C2C2C;
    border-bottom: 2px solid #6A63B8;
    background-color: #F4EFE7;
    padding: 12px 15px;
}

/* Modern input styling */
.form-control {
    border-radius: 8px;
    border: 2px solid #F4EFE7;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
}

.form-control:focus {
    border-color: #6A63B8;
    box-shadow: 0 0 0 0.2rem rgba(199, 161, 106, 0.15);
}

#sidenav-1 {
  font-size: 0.9375rem; /* 15px */
  background-color: #f6f7fb !important;
  color: #374151;
}

.sidenav-item {
  margin: 0.125rem 0.5rem; /* spațiu între itemi */
}

.sidenav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
  padding: 0.75rem 1rem; /* 12px 16px */
  border-radius: 0.625rem; /* 10px */
  font-weight: 500;
  color: #374151;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidenav-link:hover {
  background-color: rgba(90, 80, 255, 0.08);
  color: #4a3aff;
  text-decoration: none;
}

.sidenav-link.active {
  background-color: rgba(90, 80, 255, 0.12);
  color: #4a3aff;
  font-weight: 600;
  position: relative;
}

.sidenav-link.active::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background-color: #4a3aff;
  border-radius: 3px;
}

.sidenav-link i {
  font-size: 1.125rem; /* 18px */
  width: 1.375rem;
  text-align: center;
  opacity: 0.85;
}

.sidenav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 80, 255, 0.35);
}

#sidenav-1:not(.sidenav-1-opened) .sidenav-link {
  justify-content: center;
  padding: 0.75rem;
}

#sidenav-1:not(.sidenav-1-opened) .sidenav-link span {
  display: none;
}

.close-sidenav-navigation-left {
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.close-sidenav-navigation-left:hover {
  background-color: rgba(0,0,0,0.08);
}

.cp-card-link{
  text-decoration: none;
  color: inherit;
  display:block;
}

.cp-action-card{
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 16px;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  gap: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height: 92px;
}

.cp-action-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(0,0,0,0.08);
  border-color: rgba(90, 80, 255, 0.20);
}

.cp-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #5B2EFF 0%, #4A8DFF 100%);
  color: #fff;
  flex: 0 0 auto;
}

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

.cp-card-body{
  flex: 1 1 auto;
  min-width: 0;
}

.cp-title{
  font-weight: 800;
  font-size: 16px;
  color: #111827;
  margin-bottom: 3px;
}

.cp-subtitle{
  font-size: 13px;
  color: #6b7280;
  line-height: 18px;
}

.cp-arrow{
  color: rgba(17, 24, 39, 0.35);
  flex: 0 0 auto;
  transition: transform .15s ease, color .15s ease;
}

.cp-action-card:hover .cp-arrow{
  transform: translateX(2px);
  color: rgba(74, 58, 255, 0.85);
}

/* mobile: cardurile să fie mai “tap-friendly” */
@media (max-width: 575px){
  .cp-action-card{
    padding: 16px;
    min-height: 88px;
  }
}

.cp-bandbar{ margin: 0 0 18px 0; }
  .cp-bandbar-card{
    background: #ffffff;
    border: 1px solid rgba(17,24,39,0.06);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
    padding: 16px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
  }

  .cp-bandbar-left{
    display:flex;
    align-items:center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
  }

  .cp-band-avatar{
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background: linear-gradient(135deg, #5B2EFF 0%, #4A8DFF 100%);
    flex: 0 0 auto;
  }
  .cp-band-avatar i{ font-size: 20px; }

  .cp-band-meta{ min-width:0; }
  .cp-band-label{
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
  }
  .cp-band-current{
    display:flex;
    align-items:center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
  }
  .cp-band-name{
    font-weight: 800;
    font-size: 16px;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
  }
  .cp-band-sub{
    font-size: 13px;
    color: #6b7280;
    line-height: 18px;
  }

  /* ===== Pill ===== */
  .cp-pill{
    font-size: 12px;
    font-weight: 700;
    color: #4a3aff;
    background: rgba(90,80,255,0.12);
    border: 1px solid rgba(90,80,255,0.20);
    padding: 4px 8px;
    border-radius: 999px;
  }

  /* ===== Right side ===== */
  .cp-bandbar-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap: 12px;
    flex: 0 0 auto;
  }

  /* ===== Select ===== */
  .cp-select{
    position: relative;
    min-width: 220px;
  }
  .cp-select-native{
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid rgba(17,24,39,0.10);
    border-radius: 12px;
    padding: 10px 38px 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
  }
  .cp-select-native:focus{
    border-color: rgba(90,80,255,0.35);
    box-shadow: 0 0 0 3px rgba(90,80,255,0.18);
  }
  .cp-select-icon{
    position:absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(17,24,39,0.45);
    pointer-events:none;
  }

  /* ===== Buttons (match dashboard cards) ===== */
  .cp-band-actions{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content:flex-end;
  }
  .cp-btn{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
    white-space: nowrap;
  }
  .cp-btn i{ font-size: 13px; }

  .cp-btn-primary{
    background: #1a1172;
    border: 1px solid #1a1172;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(26,17,114,0.18);
  }
  .cp-btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(26,17,114,0.22);
    filter: brightness(0.98);
    color:#fff;
  }

  .cp-btn-ghost{
    background: rgba(90,80,255,0.08);
    border: 1px solid rgba(90,80,255,0.18);
    color: #4a3aff;
  }
  .cp-btn-ghost:hover{
    transform: translateY(-1px);
    background: rgba(90,80,255,0.12);
    border-color: rgba(90,80,255,0.22);
    color: #4a3aff;
  }

  /* ===== Responsive ===== */
  @media (max-width: 992px){
    .cp-bandbar-card{
      flex-direction: column;
      align-items: stretch;
    }
    .cp-bandbar-right{
      width: 100%;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .cp-select{ min-width: 100%; }
    .cp-band-actions{
      width:100%;
      justify-content:flex-start;
    }
    .cp-band-name{ max-width: 100%; }
  }

  /* ===== Songs Loading Indicator ===== */
  @keyframes cp-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

  .cp-songs-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 16px;
    margin-top: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(74,58,255,0.04) 0%, rgba(123,104,238,0.04) 100%);
    border: 1px solid rgba(74,58,255,0.08);
  }

  .cp-loading-spinner {
    width: 28px;
    height: 28px;
    border: 2.5px solid rgba(74,58,255,0.15);
    border-top-color: #7b68ee;
    border-right-color: #7b68ee;
    border-radius: 50%;
    animation: cp-spin 0.75s linear infinite;
  }

  .cp-loading-text {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
  }