@import url('https://cdn-uicons.flaticon.com/4.0.0/uicons-regular-straight/css/uicons-regular-straight.css');
@import url('https://cdn-uicons.flaticon.com/4.0.0/uicons-regular-rounded/css/uicons-regular-rounded.css');
/* Toast Notification Styles */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.toast-success {
    background-color: #10b981;
    color: white;
    border-left: 4px solid #059669;
}

.toast-error {
    background-color: #ef4444;
    color: white;
    border-left: 4px solid #dc2626;
}

.toast-info {
    background-color: #3b82f6;
    color: white;
    border-left: 4px solid #1d4ed8;
}

.toast-warning {
    background-color: #f59e0b;
    color: white;
    border-left: 4px solid #d97706;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    margin-left: 16px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

.toast-hide {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    background-color: #e2e8ed26;
}

/* MOBILE MENU */
.mobile-menu{
    display:none;
    position:relative;
}

.menu-bt{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:12px;
    cursor:pointer;
    background:#f5f5f5;
    font-size:20px;
}

/* DROPDOWN */
.mobile-menu .links{
    position:absolute;
    top:60px;
    right:0;
    width:230px;
    background:white;
    border:1px solid #eee;
    border-radius:18px;
    padding:10px;
    display:none;
    flex-direction:column;
    gap:8px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    z-index:999;
}

.mobile-menu .links.active{
    display:flex;
}

.mobile-menu .links li{
    list-style:none;
}

.mobile-menu .links a{
    display:block;
    padding:14px;
    border-radius:12px;
    text-decoration:none;
    color:#111;
    font-weight:600;
    transition:.2s;
}

.mobile-menu .links a:hover{
    background:#f5f5f5;
}

/* RANDOM BUTTON STYLE */
.mobile-menu .links a[href="/random"]{
    background:#111;
    color:white;
}

/* MOBILE */
@media(max-width:768px){

    .nav-links{
        display: none !important;;
    }
    .navbar{
        justify-content: space-between!important;
    }

    .mobile-menu{
        display:block;
    }

}

.navbar {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 2px 42px;
    background-color: #fff;
    border-bottom: 1px solid #b3b3b326;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.navbar .logo img{
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.navbar .nav-links {
    display: flex;
    gap: 20px;
    list-style-type: none;
}
.navbar .nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}
.navbar .nav-links a:hover {
    color: #007bff;
}

.hero{
    text-align: center;
    padding-top: 100px;
    background: white;
    height: 70vh;
}

.hero .hero-t{
    font-size: 50px;
    font-weight: bold;
    color: #333;
}

.hero-t span{
    color: #007bff;
}

.hero h3{
    font-size: 24px;
    color: #555;
    margin: 20px 0;
}

.hero .btn{
    text-decoration: none;
    padding: 10px;
    text-align: center;
    background-color: #000000;
    color: white;
    border-radius: 5px;
    display: block;
    width: fit-content;
    margin: 35px auto;
}

.features{
    justify-content: space-around;
    padding: 25px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;

}

.features .feature{
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 11px;
    border: 1px solid #ebebeb;
}

.features .feature i{
    font-size: 48px;
    color: #007bff;
    margin-bottom: 15px;
}

.tasks-container{
    padding: 25px;
}

#tasks-list{
    height: 80vh;
    overflow-y: scroll;
}

.task {
      background-color: white;
    width: 500px;
    padding: 14px 20px;
    border-radius: 11px;
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
}
.task .task-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.task .task-desc {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

.tag {
background-color: #abdaff21;
    padding: 5px;
    border-radius: 5px;
    color: blue;
    margin-right: 5px;
    font-weight: 600;
    font-size: 13px;
}

.about-container{
    padding: 25px;
    text-align: center;
}

.about-container p {
        font-weight: 600;
    line-height: 1.5;
}

.achievement .achievement-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.achievement-head a {
    color: black;
    text-decoration: none;
    font-size: 20px;
}

.achievement .actions {
    padding: 11px 0px 0px;
    margin-top: 18px;
    border-top: 1px solid #ece8ef;
}


.achievement .actions .smile-reaction {
    font-size: 23px;
    cursor: pointer;
    color: #000000;
    background-color: #FFC107;
    width: fit-content;
    border-radius: 50%;
}


.add-achievement-container{
    padding: 25px;
    text-align: center;
}

.add-achievement {
    text-align: center;
}

#add-achievement-form{
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    margin: 0 auto;
}

#add-achievement-form input, #add-achievement-form textarea{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
}

#add-achievement-form button{
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.achievements-list{padding: 25px;}

.achievement .link {
    margin-bottom: 13px;
}
.achievement .link a{
    text-decoration: none;
    font-weight: 500;
}

.achievements-head {
    margin-left: 118px;
    width: fit-content;
}

.achievements-head .add-bt{
    padding: 10px;
    margin: 13px 0px;
    display: block;
    background-color: #cae8ff;
    width: fit-content;
    border-radius: 7px;
    font-weight: bold;
    text-decoration: none;
    color: #3333e1;
}
#achievements-container {
    overflow-y: scroll;
    height: 80vh;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.achievement {
    background-color: white;
    width: 500px;
    padding: 14px 20px;
    border-radius: 11px;
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
    height: 181px;
}

.achievement .achievement-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.btn {
    text-decoration: none;
    padding: 10px;
    text-align: center;
    background-color: #000000;
    color: white;
    border-radius: 5px;
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    color: #555;
    margin-top: 20px;
}