/* Tamamlanmamış Adımlar Ekranı İçin Yazılmış CSS Kodları */

/* Speech Buble */

.thought {
    display: flex;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    min-width: 40px;
    min-height: 40px;
    margin: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    z-index: 9999999;
    left: 260px;
    box-shadow: 0 0px 4px 0px #cdd1e1;
    flex-direction: column;
    transition: 1s ease all;
    opacity: 0;

    @media (max-width: 321px) {
        padding: 10px;
        font-size: 0.722rem !important;
    }

    @media (max-width: 450px) {
        text-align: left;
    }

    .stroke {
        color: #248afd;
        font-weight: 500;
    }
}

.thought.active{
    opacity: 1 !important;
}

.thought:not(.active) {
    user-select: none;
    pointer-events: none;
}

.thought .title {
    width: 100%;
    text-align: left;
    color: #248afd;
    font-weight: 500;
    border-bottom: 1px solid #dddddda6;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 17px;
    position: relative;
}

.thought .title::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 2px;
    background: #248afd;
}

.thought .paragraph {
    text-align: left;
    font-size: 16px;
    margin-bottom: 1rem;
    padding-right: 15px;
}

.thought:before,
.thought:after {
    content: "";
    background-color: #fff;
    border-radius: 50%;
    display: block;
    position: absolute;
    z-index: -1;
}

.thought:before {
    width: 44px;
    height: 44px;
    top: -12px;
    left: 28px;
    box-shadow: -50px 30px 0 -12px #fff;
}

.thought:after {
    bottom: -10px;
    right: 26px;
    width: 30px;
    height: 30px;
    box-shadow: 40px -34px 0 0 #fff,
    -28px -6px 0 -2px #fff,
    -24px 17px 0 -6px #fff,
    -5px 25px 0 -10px #fff;
}

.thought .buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.thought .buttons a {
    font-size: 14px;
    padding: 6px;
    border-radius: 8px;
    transition: .3s ease all;
    cursor: pointer;
    text-decoration: unset;
}

.remind_later {
    background-color: transparent;
    border: 1px solid #248afd;
    color: #248afd;
}

.lets_start {
    background-color: #026dd1;
    color: white;
    border: none;
}

.remind_later:hover {
    background-color: #248afd;
    color: #fff;
}

.lets_start:hover {
    background-color: #0056b3;
    text-decoration: none;
    color:white;
}

.maskot_area {
    position: absolute;
    left: -87px;
    top: 32px;
    z-index: -1;
}

.maskot_area_inner {
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.maskot_area img {
    max-width: 110px;
    max-height: 110px;
    border-radius: 25%;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .2));
}

.thought_marker {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;

    &:hover{
        background: #ff4d4d;
        color: white;
        border-color: #ff4d4d;
    }
}

.thought_accent {
    pointer-events: none !important;
}

.floating_continue_setup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    animation: slideInFromBottom 0.5s ease-out;

    @media (max-width: 450px) {
        bottom: 15px;
        right: 15px;
    }

    .floating_btn_inner {
        background: linear-gradient(90deg, #0673CB 0%, #2CAF86 100%);
        padding: 10px 20px;
        border-radius: 50px;
        box-shadow: 0 8px 25px #0673CB;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;

        @media (max-width: 450px) {
            border-radius: 50%;
            padding: 10px 10px;
        }

        &:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px #0673CB;
        }

        img {
            width: 35px;
            height: 35px;
            object-fit: contain;
            animation: bounce 2s infinite;
        }

        span {
            color: white;
            font-weight: 600;
            font-size: 15px;
            white-space: nowrap;

            @media (max-width: 450px) {
                display: none;
            }
        }
    }
}

.setup-tasks-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    font-size: 16px;

    li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        color: #444;

        &:last-child {
            border-bottom: none;
        }

        .task-info {
            display: flex;
            align-items: center;
            margin-right: 16px;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 10px;
            display: inline-block;
            flex-shrink: 0;
        }

        /* Bekleyen (Waiting) Durumu */

        &.waiting {
            .dot {
                background-color: #ffc107;
                border: 1px solid #ffc107;
            }
        }

        /* Tamamlanmış (Done) Durumu */

        &.done {
            .dot {
                background-color: #28a745;
                border: 1px solid #28a745;
            }

            strong {
                color: #28a745;
                text-decoration: line-through;
            }
        }

        /* Butonlar */

        .task-button {
            padding: 4px 10px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.2s;
            white-space: nowrap;

            &.start-btn {
                background-color: #026dd1;
                border: 1px solid #026dd1;
                color: white;

                &:hover {
                    background-color: white;
                    border: 1px solid #026dd1;
                    text-decoration: none;
                }

            }

            &.completed-btn {
                background-color: #e9ecef;
                color: #6c757d;
                border: 1px solid #ced4da;
                cursor: default;
            }
        }
    }
}


@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}