/* @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800;900&family=Montserrat+Alternates:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #f59e0b;
    --primary-light: #fcd34d;
    --primary-x-light: #fcd34d66;
    --primary-xx-light: #fcd34d22;
    --primary-dark: #d97706;

    --secondary: #e7ae64;

    /* --text-primary: #f3f4f6; */
    --text-primary: #111827;
    /* --text-secondary: #9ca3af; */
    --text-secondary: #0c030f;
    /* --bg-primary: #1f2937; */
    /* --bg-primary: #f3f4f6; */
    --bg-primary: #fcfcfc;

    /* --bg-secondary: #111827; */
    /* --bg-secondary: #efece9; */
    --bg-secondary: #f2f2f2;

    /* --bg-tertiary: #374151; */
    --bg-tertiary: #f3f4f6;

    --border-color: #4b556333;
    --border-color-light: #4b556319;

    --grey: grey;

    --surface: #fff;
    --surface-2: #fcfcfc;
    --surface-3: #e1e1e155;

    --success: #107731;
    --success-bright: #bfffd3;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --sidebar-width: 240px;
    --border-radius: 0.5rem;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 0px 6px 1px #f59f0bb0, 0 0px 4px 2px #f59f0b36;
    --font-header: 'Montserrat Alternates';
    --font-primary: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.dark-mode{
    --primary: #f59e0b;
    --primary-light: #fcd34d;
    /*--primary-x-light: #fcd34d66;*/
    --primary-x-light: #fcd34d44;
    --primary-xx-light: #fcd34d22;
    --primary-dark: #d97706;
    --text-primary: #f3f4f6;
    /* --text-primary: #111827; */
    --text-secondary: #9ca3af;
    /* --text-secondary: #0c030f; */
    --bg-primary: #1f2937;
    /* --bg-primary: #f3f4f6; */
    /* --bg-primary: #fcfcfc; */

    --bg-secondary: #111827;
    /* --bg-secondary: #efece9; */
    /* --bg-secondary: #f2f2f2; */

    --bg-tertiary: #374151;
    /* --bg-tertiary: #f3f4f6; */

    /* --white: #fff; */
    --surface: #253443;
    --surface-2: #203040;
    --surface-3: #31313155;

    /* --border-color: #4b556333; */
    --border-color: #f9fafc22;

    --success: #107731;
    --success-bright: #bfffd3;
    --warning: #f59e0b;
    /*--danger: #ef4444;*/
    --danger: #ff8484;
    --info: #3b82f6;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --sidebar-width: 240px;
    --border-radius: 0.5rem;

    /* --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
    --shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
}

.color-primary{
    color:var(--primary);
}


* {
    box-sizing: border-box;
    font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

body {
    margin: 0;
    /* background-color: rgb(248 249 250); */
    background: #fff;
    color: var(--text-primary);
    line-height: 1.6;
}

.text-italic{
    font-style:italic;
    /* font-family:cursive; */
}

.text-center{
    text-align:center;
}

.full{
    width:100%;
}

.btn {
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--text-primary);
    background: var(--border-color);
    text-align:center;
}

.btn:hover {
    filter:brightness(90%)
}

.btn.primary {
    background-color: var(--primary);
    color: #eee;
}


.btn.secondary {
    background-color: var(--grey);
    border:0.5px solid #ddd;
    color:#ddd;
}

a{
    cursor:pointer;
    color:inherit;
    text-decoration:none;
}

.row{
    display:flex;
}

.col{
    display:flex;
    flex-direction:column;
}

.flex-center{
    display:flex;
    align-items:center;
    justify-content:center;
}

.i-flex{
    display:inline-flex;
}

.ai-c{
    align-items:center;
}

.jc-c{
    justify-content:center;
}

.jc-sb{
    justify-content:space-between;
}


.jc-se{
    justify-content:space-evenly;
}

.g-02{
    gap:0.2em;
}
.g-05{
    gap:0.5em;
}
.g-1{
    gap:1em;
}
.g-2{
    gap:2em;
}
.g-3{
    gap:3em;
}
.g-4{
    gap:4em;
}

/* Margin xy */
.m-0{
    margin:0;
}

/* Margin top */
.mt-1{
    margin-top:1em;
}

.mt-2{
    margin-top:2em;
}

.mt-3{
    margin-top:3em;
}


/* Margin bottom */
.mb-1{
    margin-bottom:1em;
}

.mb-2{
    margin-bottom:2em;
}

.mb-3{
    margin-bottom:3em;
}


 /*Horizontal margin*/
.hm-1
{
    margin:0 1em;
}

/* Vertical margin */
.vm-1
{
    margin:1em 0;
}

/* Vertical padding */
.vp-1
{
    padding:1em 0;
}

.p-1{
    padding:1em;
}

.ls{
    letter-spacing:0.15em;
}


.clickable{
    cursor:pointer;
}

select, input:not(input[type="checkbox"], input[type="range"]){
    /* height:3em; */
    /* width:100%; */
    color:inherit;
    /* padding-left:2em; */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (hover: hover) and (pointer: fine) {
    button, [class*=btn]{
        cursor:pointer;
    }
}


.sm-s{
    display:none !important;
}

@media screen and (max-width: 1080px) {
    .lg-s{
        display:none !important;
    }
    .sm-s{
        display:block !important;
    }
}

@media screen and (max-width: 768px) {
    .lg-s-2{
        display:none !important;
    }
    /* .sm-s{
        display:block !important;
    } */
}



.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--surface-2);
    transform: translateY(-2px);
}




/* Custom popup styles */
#showPopup.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#showPopup.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

#showPopup .popup {
    background-color: var(--surface);
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px var(--shadow);
    transform: translateY(-20px);
    transition: all 0.3s ease;
    position: relative;
}

#showPopup.popup-overlay.active .popup {
    transform: translateY(0);
}

#showPopup .popup-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#showPopup .popup-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

#showPopup .popup-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    font-family:var(--font-header);
}

#showPopup .popup-content {
    font-size: 15px;
    line-height: 1.5;
    color: #888;
    margin-bottom: 20px;
    max-height: 55vh;
    overflow: auto;
    scrollbar-width: thin;
}

#showPopup .popup-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
}

#showPopup .popup-button:hover {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

#showPopup .popup-icon{
    /* background-color: var(--primary-x-light); */
    color:var(--primary);
    padding:0.2em;
    border-radius:0.2em;
}

#showPopup .popup-success .popup-icon {
    color: #039d0e;
}

#showPopup .popup-error .popup-icon {
    color: #F44336;
}

#showPopup .popup-warning .popup-icon {
    color: var(--primary-dark);
}


.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-2);
    z-index: 1001;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 50%;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: var(--danger);
}