@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", system-ui;
    overflow-x: hidden;
}

:root {
    --color-custom-primary: #cca25b;
}

/* Line Clamp Utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scrollbar Hide Utility */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.animate-delay-1 {
    animation-delay: 100ms;
}

.animate-delay-2 {
    animation-delay: 200ms;
}

.animate-delay-3 {
    animation-delay: 300ms;
}

.animate-delay-4 {
    animation-delay: 400ms;
}

.animate-delay-5 {
    animation-delay: 500ms;
}

.animate-delay-6 {
    animation-delay: 600ms;
}

.animate-delay-7 {
    animation-delay: 700ms;
}

.animate-delay-8 {
    animation-delay: 800ms;
}

.animate-delay-9 {
    animation-delay: 900ms;
}

.animate-delay-10 {
    animation-delay: 1000ms;
}

/* Alert animation */
@keyframes slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.animate-slide-down {
    animation: slide-down 0.1s ease-out;
}

.animate-fade-in {
    animation: fade-in 0.2s ease-out;
}

.animate-fade-out {
    animation: fade-out 0.15s ease-in;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

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

@keyframes fade-out {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 0.75s linear infinite;
    display: inline-block;
}

/* Admin SweetAlert toast — eski Alert.php kartı görünümü */
.swal2-popup.admin-swalert-toast-card {
    background: #fff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 1rem !important;
    box-shadow:
        0 25px 50px -12px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    padding: 1rem !important;
    /*max-width: min(92vw, 24rem) !important;*/
    box-sizing: border-box !important;
}

.swal2-popup.admin-swalert-toast-card .swal2-html-container.admin-swalert-toast-html {
    margin: 0 !important;
    padding: 0 !important;
    /*max-width: 100% !important;*/
    overflow: visible !important;
}

.swal2-popup.admin-swalert-toast-card .swal2-title {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
}