body {
    user-select: none;
    -webkit-user-select: none; /* For Safari */
    -moz-user-select: none; /* For Firefox */
}

@media (min-width: 1200px) {
    .container {
        max-width: 420px !important;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    line-height: 1.6;
    background-image: url('/assets/background/background.png');
    background-color: #131315; 
    background-size: cover; /* Adjust the image size to cover the entire element */
    background-position: center; /* Center the background image */
    color: #fff;
    margin: 0;
    /* font-family: "Roboto Condensed", "Anuphan"; */
    font-family: 'Kanit', sans-serif;
}

.mobile-nav-content {
    background-image: url('/assets/background/background.png'); 
    background-color: #131315; /* Fallback color in case the image doesn't load */
    background-size: cover;
    background-position: center;
}

.circular-image-preview-container {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    border: 5px solid #bb936a; 
    /* box-shadow: 0 0 0 5px inset linear-gradient(270deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%); */
}

.circular-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.circle-image-container {
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    padding: 5px;
    /* background: linear-gradient(270deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%); */
}

.circle-image {
    display: block;
    width: 85px;
    border-radius: 50%;
}

.nav-img.circle-image {
    width: 70px;
}

.wrap-footer {
    background-color: #4a4c4f;
}

.wrap-btn-next {
    margin: 15px 15px;
}

.btn-footer {
    cursor: pointer;
}

.icon-gradient , .btn-footer.active {
    color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text;
    background-image: linear-gradient(0deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%) !important;
}

.navbar-toggler {
    box-shadow: none !important;
    background-color: #e6e3e30d;
    border: none;
    height: 35px;
}

.btn-close-icon{
    font-size: 24px;
}

.main-content {
    flex-grow: 1; /* This will make the main content grow to fill the remaining space */
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background-color: #131315 !important;
    color: white !important;
    border-color: #131315 !important ;
}

.ui-menu {
    z-index: 999999999999999 !important;

    max-height: 500px; /* Adjust the maximum height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
    padding:5px 0px 0px 5px !important;
}


.ui-state-highlight-custom {
    /* font-weight: bold; */
    background-color: #ffffa8;
}


.footer {
    background-color: #1e1d22;
    color: #636267;
    text-align: center;
    padding: 10px 15px;
    position: sticky;
    bottom: 0; /* Stick the footer to the bottom */
    border-radius : 0 0 25px 25px;
}

.footer i {
    font-size:1.3rem;
}

input[readonly] {
    /* background-color: #000; 
    border: none; */

    background-color: #131315;
    border-color: #131315 !important;
}

.form-control , .form-control:focus , .form-select {
    /* background-color: #131315;
    border-color: #131315 !important; */

    background-color: #000; 
    border-color:#000 !important;
    box-shadow: none !important;
    color: white !important;
}

.form-auth {
    background-color: #1f2227;
    /* border:none !important; */
    border-color: #1f2227 !important;
    box-shadow: none !important;
    color: white !important;
}
.form-control:focus ,.form-select :focus  {
    border-color : #fbd0a2   !important;
}



a , a:hover , a:visited {
    color: #636267 !important;
    text-decoration: none;
}

#mobileNav {
    width: 85%;
    background-color: #131315;
    box-shadow: 8px 0px 15px rgba(0, 0, 0, 0.2);
    color: #636267 !important;
}

.form-control::placeholder {
    color: #fff; /* Replace with your desired color */
}

body.loading {
    overflow: hidden;
}

.container {
    flex: 1;
}

.btn-gold {
    /* background: linear-gradient(270deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%); */
    background: linear-gradient(270deg, rgb(190, 159, 116) 0%, rgb(238, 212, 166) 42%, rgb(153, 116, 86) 100%);

    color: #753700  !important;
    padding: 10px;
    border: none;
    transition: background-color 0.8s ease-in-out !important;
    font-weight:500;
}

.btn-gold , .btn-gold:hover {
    background: linear-gradient(270deg, rgb(190, 159, 116) 0%, rgb(238, 212, 166) 42%, rgb(153, 116, 86) 100%);
}

.btn-gold:active {
    background: linear-gradient(270deg, rgb(238, 212, 166) 0%, rgb(153, 116, 86) 42%, rgb(190, 159, 116) 100%);
}

@keyframes overlayAnimation {
    0% {
    transform: scaleX(0) scaleY(0);
    opacity: 0;
    }
    100% {
    transform: scaleX(1) scaleY(1);
    opacity: 0.2;
    }
}

/* Style for the button with overlay animation */
.btn-gold.overlay-animated-button {
    background: linear-gradient(270deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%);
    color: #753700;
    padding: 10px;
    border: none;
    transition: background-color 0.8s ease-in-out, transform 0.3s, opacity 0.3s;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-gold.overlay-animated-button::before,
.btn-gold.overlay-animated-button::after {
    content: "";
    position: absolute;
    background-color: white;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
}

.btn-gold.overlay-animated-button::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: bottom left;
}

.btn-gold.overlay-animated-button::after {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    transform-origin: top right;
}

.btn-gold.overlay-animated-button:hover,
.btn-gold.overlay-animated-button:focus {
    transform: translateY(-2px); /* Slight vertical shift on hover/focus */
}

.btn-gold.overlay-animated-button:hover::before,
.btn-gold.overlay-animated-button:hover::after,
.btn-gold.overlay-animated-button:focus::before,
.btn-gold.overlay-animated-button:focus::after {
    animation: overlayAnimation 0.3s ease-in-out forwards;
}

.btn-gold.overlay-animated-button:hover {
    background: linear-gradient(270deg, rgb(190, 159, 116) 0%, rgb(238, 212, 166) 42%, rgb(153, 116, 86) 100%);
}

.btn-alert {
    background: linear-gradient(270deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%) !important;
    color: white !important;
    border: none !important;
    /* width: 60px; */
    box-shadow: none !important;
}

.text-logo {
    @extend .text-gradient;
    
    font-family: "Prompt", sans-serif;
    font-weight: 500;
}

.text-logo-big { 
    font-size: 2.8rem;
    line-height:1.2;
}

.text-logo-small { 
    font-size:2.3rem;
    line-height:1;

}

.hr-gradient {
    background: linear-gradient(0deg, rgb(138, 80, 33) 0%, rgb(190, 159, 116) 42%, rgb(219, 202, 171) 100%);
    height: 5px;
}

.text-gradient {
    background: linear-gradient(0deg, rgb(138, 80, 33) 0%, rgb(190, 159, 116) 42%, rgb(219, 202, 171) 100%);
    -webkit-background-clip: text; /* For Safari */
    background-clip: text;
    color: transparent;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: transparent !important;
    background-clip: text !important;
    -webkit-background-clip: text;
    background-image: linear-gradient(0deg, rgb(153, 116, 86) 0%, rgb(190, 159, 116) 42%, rgb(238, 212, 166) 100%) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

.form-control , .form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    font-size: 16px;
}

/* Modern Loading Spinner Styles */
.loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999; /* Make sure the overlay is above other content */
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 6px solid #c0a55d;
    border-color: #c0a55d transparent #c0a55d transparent;
    animation: loading-spinner 1.2s linear infinite;
}

.pointer {
    cursor: pointer;
}

@keyframes loading-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logout {
    position: fixed;
    bottom: 30px;
}

.invalid-feedback {
    color : #c60013 !important;
}

.card {
    background-color: #1c1c1f !important;
    color:white !important;
    padding: 13px 22px;
    border-radius: 15px;
    transition: background-color 0.1s, color 0.1s;
}


.card-hover-brown:hover {
    background: linear-gradient(45deg, #7c523e, #4b2c20);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.form-check-input:checked {
    background-color: #682c00;
    border-color: #232406;
    outline :none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-back {
    background: #19181c;
    width: 30px;
    height: 30px;
    border-radius: 5px
}

.swal2-popup {
    background-color: #19191a; /* Change the background color to a dark color */
    color: #fff; /* Change the text color to light */
}