:root {
    --blue: #1877f2;
    --blue-dark: #166fe5;
    --blue-light: #e7f3ff;
    --text-color: #050505;
    --text-secondary: #65676b;
    --bg-color: #f0f2f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
}

details {
    margin-top: 100px;
    margin-left: 400px;
    position: relative;
    width: fit-content;
}

summary {
    list-style: none;
    cursor: pointer;
    background-color: var(--blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

summary:hover {
    background-color: var(--blue-dark);
    transform: scale(1.05);
}

summary::marker {
    display: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary ion-icon {
    font-size: 1.5rem;
}

details[open] summary {
    border-radius: 50% 50% 0 0;
}

ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 220px;
    overflow: hidden;
    transform-origin: top center;
    animation: scaleIn 0.15s ease-out forwards;
    z-index: 100;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

li {
    list-style: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

li:hover {
    background-color: var(--blue-light);
    color: var(--blue);
}

li ion-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

li:hover ion-icon {
    color: var(--blue);
}