@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('grid.css');

:root {
    --primary: #000000;
    --primary-gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --accent: #25348b;
    --secondary: #555555;
    --dark: #111111;
    --light: #f9f9f9;
    --muted: #f3f4f6;
    --border: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.03);
    --transition: all 0.2s ease;
    --max-width: 1400px;
    --header-height: 60px;
    --radius: 0px;
    --radius-lg: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    font-size: 14px;
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0;
    /* Yaslanmış (Flush) */
}

header.scrolled {
    box-shadow: var(--shadow);
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0 auto;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--dark);
    border-bottom-color: var(--dark);
}

nav ul li a.active {
    font-weight: 700;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 5px;
    margin-right: 20px;
}

.lang-switch a {
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    padding: 4px 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.header-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.header-phone:hover {
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--accent);
}

.nav-header {
    display: none;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--dark);
    background: var(--muted);
}

/* ==================== HERO SLIDER ==================== */
.hero {
    padding: 0;
    background: var(--light);
}

.hero-slider {
    max-width: 1400px;
    width: 100%;
    height: 500px;
    margin: 10px auto;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
}

.slides-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.hero-slider:hover .slider-nav {
    opacity: 1;
    transform: translateY(0);
}

.slider-nav button {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent */
    backdrop-filter: blur(15px);
    /* Premium glass blur */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Thin glass border */
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Minimalist sharp edges */
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    color: var(--white);
}

.slider-nav button:active {
    transform: scale(0.95);
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Content at bottom */
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding: 30px 30px;
    /* Vertical padding inside content */
    text-align: left;
}

.slide-content h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 10px;
    line-height: 1.6;
}

.slide-content .btn-primary {
    background: transparent !important;
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    padding: 8px 12px;
    box-shadow: none !important;
}

.slide-content .btn-primary:hover {
    background: var(--white) !important;
    color: var(--dark) !important;
}

/* ==================== SECTIONS ==================== */
section {
    padding: 10px 0;
}

/* ==================== WELCOME SECTION ==================== */
.welcome-section {
    background: var(--muted);
    padding: 10px 0;
}

.welcome-row {
    align-items: center;
    background: var(--white);
}

.welcome-text {
    padding: 60px;
    text-align: left;
}

.welcome-text h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: var(--dark);
}

.welcome-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 30px;
}

.welcome-text .btn-primary {
    padding: 14px 32px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-image {
    padding: 0;
    line-height: 0;
}

.welcome-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Welcome Section Mobile */
@media (max-width: 768px) {
    .welcome-section {
        padding: 0;
    }

    .welcome-row {
        flex-direction: column-reverse;
    }

    .welcome-text {
        padding: 24px 20px;
        text-align: center;
    }

    .welcome-text h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .welcome-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .welcome-text .btn-primary {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .welcome-image img {
        height: 250px;
    }
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 10px auto;
}

.section-title span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    margin-bottom: -8px;
}

.section-title h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
    margin-bottom: 8px;
}

/* ==================== CARDS ==================== */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img {
    transform: scale(1.03);
}

.card-body {
    padding: 20px;
}

.card-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-text {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
}

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--muted);
    color: var(--dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 20px;
    color: var(--dark);
}

.service-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-item p {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
}

.service-link i {
    font-size: 10px;
    transition: var(--transition);
}

.service-item:hover .service-link i {
    transform: translateX(4px);
}

/* ==================== NEWS CARDS ==================== */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.date-badge {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--dark);
    padding: 30px 0;
    color: var(--white);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 15px;
    opacity: 0.6;
}

/* ==================== DETAIL PAGES ==================== */
.detail-section {
    padding: 48px 0 100px;
    background: var(--muted);
}

.service-banner-overlap {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-banner-overlap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-main {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.sidebar-contact-card {
    background: var(--dark);
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.sidebar-contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.sidebar-contact-card p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-call-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
}

.sidebar-call-btn:hover {
    background: var(--accent);
    color: var(--white);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 0.8fr 1fr 1.5fr 2fr;
    gap: 30px;
    margin-bottom: 64px;
}

.footer-col h3 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
}

.footer-col p {
    font-size: 15px;
    opacity: 0.7;
    line-height: 1.8;
    max-width: 300px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    font-size: 14px;
    font-weight: 300;
    opacity: 0.5;
}

/* ==================== TOAST ==================== */
#toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

/* ==================== GRIDS & FORMS ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: stretch;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ==================== RESPONSIVE ==================== */
.mobile-nav-footer {
    display: none;
}

@media (max-width: 1024px) {

    .grid,
    .services-grid,
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        /* reset display none */
        display: block;
    }

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 24px;
    }

    #main-header {
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        z-index: 1001;
        padding: 24px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;

    }

    .main-nav.active {
        right: 0;
    }

    .nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-header h3 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--dark);
        margin: 0;
    }

    .close-menu {
        background: none;
        border: none;
        font-size: 20px;
        color: var(--secondary);
        cursor: pointer;
        padding: 4px;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-menu:hover {
        color: #ef4444;
        transform: rotate(90deg);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav ul li {
        width: 100%;
    }

    .main-nav ul li a {
        display: flex;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
        color: var(--dark);
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav ul li a.active {
        color: var(--dark);
        padding-left: 5px;
        border-bottom: 2px solid var(--dark);

    }

    .main-nav ul li a:hover {
        color: var(--dark);
    }

    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 32px;
        padding-top: 24px;
        padding-bottom: 40px;
        border-top: 1px solid var(--border);
    }

    .mobile-nav-footer .lang-switch {
        justify-content: center;
        background: var(--light);
        padding: 8px;
        border-radius: 8px;
    }

    .btn-appointment {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--dark);
        color: var(--white);
        padding: 12px;
        border-radius: 0;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: var(--transition);
    }

    .btn-appointment:hover {
        background: var(--secondary);
    }

    .hide-mobile {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .grid,
    .services-grid,
    .announcements-grid {
        grid-template-columns: 1fr;
    }

    /* Hero & Slider Mobile Optimization */
    .hero {
        height: auto;
        padding: 0;
        background: var(--dark);
    }

    .hero-slider {
        height: 500px;
        /* Taller for mobile */
        max-height: 80vh;
        margin: 0 !important;
        border-radius: 0;
    }

    .hero {
        margin: 0;
        padding: 0;
    }

    .slide-content {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        bottom: 0;
    }

    .slide-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 15px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .slide-content p {
        font-size: 1rem;
        line-height: 1.5;
        opacity: 0.95;
        margin-bottom: 24px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-display: box;
        /* standard prop */
        line-clamp: 3;
        /* standard */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .slide-content .btn-primary {
        width: auto;
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .slider-nav {
        bottom: 20px;
        right: 20px;
    }

    .slider-nav button {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .header-phone span {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .slides-wrapper {
        display: flex;
        height: 100%;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-banner-overlap {
        height: 220px;
    }

    .service-card-main,
    .sidebar-contact-card {
        padding: 24px;
    }

    .detail-section {
        padding-top: 24px;
    }

    .footer-col {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-col p {
        text-align: center;
        margin: 0 auto;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Center align footer items on mobile */
    .footer-col h3 {
        text-align: center;
    }
}

/* ==================== UTILITIES ==================== */
.full-width {
    width: 100%;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-8 {
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-banner-overlap {
        height: 200px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: toastIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--primary);
    animation: toastProgress 3s linear forwards;
}

.toast.success {
    border-left: 4px solid #059669;
}

.toast.error {
    border-left: 4px solid #dc2626;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast.success i {
    color: #059669;
}

.toast.error i {
    color: #dc2626;
}

.toast.info i {
    color: #3b82f6;
}

.toast.hide {
    animation: toastOut 0.3s ease forwards;
}

.toast-content {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}