/* Fix FontAwesome icon slanting/italics globally */
.fas, .far, .fab, .fa {
    font-style: normal !important;
}

.fas {
    font-weight: 900 !important;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-weight: 400 !important;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


:root{
    /* ===== Colors ===== */
    --body-color: #333333;
    --sidebar-color: #FFF;
    --primary-color: #000;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #707070;

    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    --moz-appearance: textfield;
}

body{
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}

::selection{
    background-color: var(--primary-color);
    color: #fff;
}

body.dark{
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #3a3b3c;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
}

/* ===== Sidebar ===== */
 .sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    z-index: 100;  
}
.sidebar.close{
    width: 88px;
}

.ticket_icon {
    width: 24px; 
    height: 24px; 
}

/* ===== Reusable code - Here ===== */
.sidebar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.sidebar header .image,
.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
}

.sidebar .icon{
    min-width: 60px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar .text,
.sidebar .icon{
    color: var(--text-color);
    transition: var(--tran-03);
}

.sidebar .text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}
.sidebar.close .text{
    opacity: 0;
}
/* =========================== */

.sidebar header{
    position: relative;
}

.sidebar header .image-text{
    display: flex;
    align-items: center;
}
.sidebar header .logo-text{
    display: flex;
    flex-direction: column;
}
header .image-text .name {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
}

header .image-text .profession{
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sidebar header .image img{
    padding: 5px;
    max-width: 100%;
    max-height: 85px;
}

.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--primary-color);
    color: var(--sidebar-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sidebar header .toggle{
    color: var(--text-color);
}

.sidebar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu{
    margin-top: 40px;
}

.sidebar li.search-box{
    border-radius: 6px;
    background-color: var(--primary-color-light);
    cursor: pointer;
    transition: var(--tran-05);
}

.sidebar li.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--primary-color-light);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    transition: var(--tran-05);
}
.sidebar li a{
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

.sidebar li a:hover{
    background-color: var(--primary-color);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--sidebar-color);
}
body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text{
    color: var(--text-color);
}

.sidebar .menu-bar{
    height: calc(100% - 10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
    overflow-x: hidden;
}

@media (min-width: 2000px) {
    .sidebar .menu-bar {
        height: calc(100% - 20px);
    }
}

.menu-bar::-webkit-scrollbar{
    display: none;
}
.sidebar .menu-bar .mode{
    padding-bottom: 20px;
}

.menu-bar .mode .sun-moon{
    height: 50px;
    width: 60px;
}

.mode .sun-moon i{
    position: absolute;
}
.mode .sun-moon i.sun{
    opacity: 0;
}
body.dark .mode .sun-moon i.sun{
    opacity: 1;
}
body.dark .mode .sun-moon i.moon{
    opacity: 0;
}

body.dark .footer {
    background-color: #3a3b3c;
    text-align: center;
    padding-top: 2.16666667rem;
    padding-bottom: 1.94444444rem;
  }

.menu-bar .bottom-content .toggle-switch{
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: #8e3cfe;
    transition: var(--tran-05);
}

.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--sidebar-color);
    transition: var(--tran-04);
}

body.dark .switch::before{
    left: 20px;
}

.home{
    position: absolute;
    top: 0;
    top: 0;
    left: 250px;
    height: 100vh;
    width: calc(100% - 250px);
    background-color: var(--body-color);
    transition: var(--tran-05);
}
.home .text{
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 60px;
}

.sidebar.close ~ .home{
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}
body.dark .home .text{
    color: var(--text-color);
}


.bottom-content {
    margin-bottom: 20px;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    background-color: #88000c;
    border-color: #000000;
}

.accordion_header {
    cursor: pointer;
}

/* Language Switcher */
.fix-language-switcher {
    font-weight: 500;
    position: relative;
    display: inline-block;
    width: 60px; 
    height: 30px;  
    transform: translateY(40%);
    transition: transform 0.17s cubic-bezier(0.26, 0.48, 0.08, 0.9);
  }
  
  .fix-language-switcher input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .fix-language-switcher .fix-select-ge,
  .fix-language-switcher .fix-select-en {
    cursor: pointer;
    position: absolute;
    font-size: 12px; 
    top: 5px; 
    color: #fff;
    mix-blend-mode: difference;
  }
  
  .fix-language-switcher .fix-select-ge {
    left: 7px;  
  }
  
  .fix-language-switcher .fix-select-en {
    right: 7px; 
  }
  
  .fix-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #18191a;
    box-shadow: 0 3px 64px rgba(30, 52, 112, 0.1);
    transition: 0.4s;
    border-radius: 15px;  
  }
  
  .fix-slider:before {
    position: absolute;
    content: "";
    height: 30px; 
    width: 30px;
    left: 0;
    bottom: 0;
    background-color: #ef4536;
    box-shadow: 0 3px 64px rgba(30, 52, 112, 0.16);
    transition: 0.4s;
    border-radius: 50%; 
  }
  
  input:checked + .fix-slider {
    background-color: #18191a;
  }
  
  input:focus + .fix-slider {
    box-shadow: none;
  }
  
  input:checked + .fix-slider:before {
    transform: translateX(30px);  
  }

/* Icons */
.icon-instagram:hover {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; color: #ef4536; 
}

.icon-soundcloud:hover {
    color: #ff8800; 
}

.icon-facebook:hover {
    color: #1877F2; 
}

.icon-telegram:hover {
    color: #0088cc; 
}

.icon-ra:hover {
    color: #FF4848 ; 
}

.icon-linkedin:hover {
    color: #0077B5; 
}
 
/* Residents */
.fix-res-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.fix-res-page-title {
    font-size: 3em;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    text-align: center;
}

.fix-res-resident-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fix-res-resident-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.fix-res-image-wrapper {
    position: relative;
    overflow: hidden;
}

.fix-res-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.fix-res-image-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(75%);
}

.fix-res-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fix-res-image-wrapper:hover .fix-res-overlay {
    opacity: 1;
}

.fix-res-overlay h2 {
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.fix-res-list-nav a {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    margin: 0 10px;
    transition: background 0.3s ease;
}

.fix-res-list-nav a:hover {
    background: #ff4081;
}

/* Artis */
.f-artist-container {
    margin-top: 40px;
    max-width: 800px;
    color: #fff;
    min-height: 65vh;
    margin: 50px auto;
    
}

.f-artist-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.f-artist-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.f-artist-first-name {
    font-weight: bold;
    color: #fff;
}

.f-artist-last-name {
    font-weight: normal;
    color: #aaa;
    font-size: 18px;
    margin-left: 8px;
}

.f-artist-description {
    margin-top: 20px;
    text-align: justify;
    line-height: 1.6;
    font-size: 18px;
    color: #aaa;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;  
    padding-right: 15px; 
}

@media (max-width: 768px) {
    .f-artist-container {
        max-width: 95%;  
    }

    .f-artist-description {
        font-size: 16px;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.f-artist-social {
    margin-top: 30px;
    text-align: center;
}

.f-artist-social a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s, background-color 0.3s;
}

/* SoundCloud Hover Effect */
.f-artist-social a:hover .fa-soundcloud {
    color: #ff8800; 
}

/* Instagram Hover Effect */
.f-artist-social a:hover .fa-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}

.f-artist-social a:hover {
    color: #ff5722;
}

.f-artist-social .fa {
    transition: color 0.1s;
}