*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

:root {
    --primary: #0141e3;
    --bg: #f4f5f7;
    --text-dark: #000000;
    --text-light: #777777;
    --card-bg: #fff;
    --radius: 14px;
}


html, body {
    background: #000; 
}


.container {
    width: 100%;
    height: 100vh;
    background: var(--text-dark);
    font-family: "Inter", sans-serif;
    color: var(--bg);
            position: fixed;

    
    
    .box{
        max-width: 430px;
        margin: auto;
        height: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;


            
        .con-box{
            width: 100%;
            height: 100%;
            overflow: hidden;
            display: flex;
            background-color: var(--card-bg);
            flex-direction: column;


            .center-card{
                background-color: var(--bg);
                flex-grow: 1;
                width: 100%;
                overflow: auto;
                text-align: center;
                color: var(--text-dark);
                display: flex;
                flex-direction: column;
                position: relative;
            }
        }

        .alert{
            display: none;
            width: auto;
            height: auto;
            padding: 10px;
            text-align: left;
            color: white !important;
            transition: all 0.5s ease;
        }
    }

    .bottom-nav {
        bottom: 0;
        width: 100%;
        max-width: 430px;
        background: var(--bg);
        display: flex;
        justify-content: space-around;
        padding: 15px 0;
        margin-bottom: 10px;
        border-top: 1px solid var(--card-bg);
    
    
        .nav-item {
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            text-align: center;
            align-items: center;
            font-size: 12px;
            padding-bottom: 15px;
            
            img{
                width: 30px;
                height: 30px;
                display: block;
                margin-bottom: 3px;
            }
            i {
                display: block;
                margin-bottom: 3px;
                font-size: 20px;
            }
        }
        .nav-item.active {
            color: var(--primary);
        }
    }
}

.header{
    padding: 20px;
    width: 100%;
    background-color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    
h3{
    font-size: 15px;
}
p{
    font-size: 13px;
}
span{
    cursor: pointer;
}
}

form{
    display: flex;
    flex-direction: column;
    width: 100%;

    input,select{
       width: 100%;
       margin: 10px 0px;
       padding: 14px;
       border: 1px solid;
       color: #000000;
       font-size: 15px;
       font-weight: 400;

       &:focus{
        outline: 2px solid var(--primary);
        border: none;
       }
    }
}

button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--bg);
    gap: 10px;
    border: none;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin: 30px auto 10px;

    img{
        display: none;
        width: 20px;
        height: 20px;
    }
}


.modal{
    display: none;
    &.full{
        width: 100%;
        height: 100%;
        flex-direction: column;
        z-index: 10;
        position: absolute;
    
        .modal-center{
            background-color: white;
            flex-grow: 1;
        }
    }
    
    &.half{
        width: 100%;
        height: 75%;
        flex-direction: column;
        z-index: 10;
        position: absolute;
        bottom: 0;
        box-shadow: 0px -2px 15px rgba(0,0,0,0.1);
        background-color: var(--card-bg);
        color: var(--text-dark);

        .header{
            background-color: transparent;
        }

        .modal-center{
            background-color: var(--card-bg);
            flex-grow: 1;
            display: flex;
            justify-content: center;
        }
    }
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 20px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* Entire horizontal scrollbar */
::-webkit-scrollbar:horizontal {
  height: 3px;
}

/* Thumb (the draggable part) */
::-webkit-scrollbar-thumb:horizontal {
  background: #282828;
  border-radius: 10px;
}

/* Thumb hover effect */
::-webkit-scrollbar-thumb:horizontal:hover {
  background: #262626;
}


.modal-content {
    background: #fff;
    padding: 25px;
    width: 320px;
    border-radius: 12px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.modal-icon {
    width: 80px;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cancel-btn, .delete-btn {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.cancel-btn {
    margin: 0;
    background: #eee;
    color: var(--text-dark);
}

.delete-btn {
    background: #0042dc;
    color: #fff;
    margin: 0;
}

@keyframes scaleIn {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}