html {
    scroll-behavior: smooth;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 1.25rem;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    transform: translateX(120%);
    opacity: 0;
    animation: toastIn 0.35s ease forwards;
    overflow: hidden;
    position: relative;
}

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid #2563eb;
}

.toast-warning {
    border-left: 4px solid #f59e0b;
}

.toast-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.toast-success .toast-icon {
    background: #d1fae5;
    color: #059669;
}

.toast-error .toast-icon {
    background: #fee2e2;
    color: #dc2626;
}

.toast-info .toast-icon {
    background: #dbeafe;
    color: #2563eb;
}

.toast-warning .toast-icon {
    background: #fef3c7;
    color: #d97706;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.toast-message {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.toast-close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 2px;
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: rgba(148, 163, 184, 0.25);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: toastProgress linear forwards;
}

.toast-success .toast-progress-bar {
    background: #10b981;
}

.toast-error .toast-progress-bar {
    background: #ef4444;
}

.toast-info .toast-progress-bar {
    background: #2563eb;
}

.toast-warning .toast-progress-bar {
    background: #f59e0b;
}

.team-slider {
    overflow: hidden;
    position: relative;
}

.team-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: teamScroll 25s linear infinite;
}

.team-slider:hover .team-track {
    animation-play-state: paused;
}

.team-card {
    min-width: 200px;
    flex-shrink: 0;
    padding: 20px;
    border-radius: 1.25rem;
    background: white;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
}

.avatar {
    height: 64px;
    width: 64px;
    margin: 0 auto;
    border-radius: 9999px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 10px;
}

.logo-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 10;
    height: 100%;
    width: 80px;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logo-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.logo-slider.reverse .logo-track {
    animation: scroll-right 30s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-card {
    min-width: 220px;
    flex-shrink: 0;
    border-radius: 1.25rem;
    border: 1px solid rgb(226 232 240);
    background: white;
    padding: 1.5rem;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.logo-card:hover {
    transform: translateY(-6px);
}

.team-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.team-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: teamScroll 24s linear infinite;
    will-change: transform;
}

.team-slider:hover .team-track {
    animation-play-state: paused;
}

.team-card {
    min-width: 180px;
    max-width: 180px;
    flex-shrink: 0;
    padding: 16px;
    border-radius: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card h5 {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
}

.team-card p {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.avatar {
    height: 56px;
    width: 56px;
    margin: 0 auto;
    border-radius: 9999px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a;
}

@media (min-width: 1024px) {
    .team-card {
        min-width: 200px;
        max-width: 200px;
    }
}

@keyframes toastIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes teamScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}