/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Shopee-like Brand Colors */
    --primary: #00bfa5;
    /* Teal/Green like Shopee Green/Tokopedia mix request */
    --primary-dark: #00897b;
    --primary-light: #a7f3d0;
    --accent: #ee4d2d;
    /* Shopee Orange for Flash Sale/Price */
    --secondary: #fbbf24;

    /* Backgrounds */
    --bg-body: #f5f5f5;
    --bg-card: #ffffff;

    /* Text */
    --text-main: #212121;
    --text-muted: #757575;

    /* UI */
    --border: #e0e0e0;
    --radius: 8px;
    --container-width: 1200px;
    --header-height: 70px;
    /* Desktop */
    --header-height-mobile: 60px;
    --bottom-nav-height: 60px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: var(--bottom-nav-height);
}

/* Padding for bottom nav */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: white;
}

/* Header */
.navbar {
    background: var(--primary);
    color: white;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo ion-icon {
    font-size: 1.8rem;
}

/* Search Bar - Shopee Style */
.search-wrapper {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.search-bar {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: none;
    border-radius: 4px;
    outline: none;
    font-family: inherit;
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 2px;
    cursor: pointer;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-icons {
    display: flex;
    gap: 1rem;
}

.icon-link {
    color: var(--text-muted);
    font-size: 1.5rem;
    position: relative;
    transition: color 0.2s;
}

.icon-link:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    border: 1px solid white;
}

/* Categories - Horizontal Scroll */
.cat-scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cat-scroll-container::-webkit-scrollbar {
    display: none;
}

.cat-list {
    display: inline-flex;
    gap: 1rem;
    padding: 0 1rem;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    text-align: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cat-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: 0.2s;
    color: var(--primary);
    font-size: 1.5rem;
}

.cat-item:hover .cat-icon {
    border-color: var(--primary);
    background: #f0fdf9;
}

.cat-name {
    font-size: 0.8rem;
    color: var(--text-main);
    white-space: normal;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
}

/* Flash Sale Section */
.flash-sale-section {
    background: white;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.fs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f1f1f1;
}

.fs-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fs-logo {
    width: 100px;
    height: auto;
}

/* Or text */
.fs-countdown {
    display: flex;
    gap: 4px;
    align-items: center;
}

.fs-timer-box {
    background: black;
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: bold;
    font-size: 0.9rem;
}

.fs-see-all {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* Flash Sale Scroll */
.fs-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 1rem;
    scrollbar-width: none;
}

.fs-list::-webkit-scrollbar {
    display: none;
}

.fs-card {
    min-width: 150px;
    width: 150px;
    background: white;
    cursor: pointer;
    position: relative;
}

.fs-img-box {
    width: 100%;
    height: 150px;
    position: relative;
    background: #fafafa;
}

.fs-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-price {
    padding: 0.5rem;
    text-align: center;
}

.fs-price-current {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.fs-price-original {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.fs-progress {
    height: 14px;
    background: #ffbda6;
    border-radius: 10px;
    position: relative;
    margin: 0.5rem;
    overflow: hidden;
}

.fs-bar {
    height: 100%;
    background: var(--accent);
    width: 80%;
}

.fs-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    text-align: center;
}

/* Products Grid */
.grid {
    display: grid;
    gap: 10px;
}

/* Mobile First: 2 columns */
.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
    background: white;
    border: 1px solid transparent;
    transition: 0.2s;
    position: relative;
    padding-bottom: 0.5rem;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    z-index: 10;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: #f5f5f5;
}

.product-details {
    padding: 0.5rem;
}

.product-title {
    font-size: 0.9rem;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    margin-bottom: 4px;
    min-height: 2.4em;
}

.product-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
}

.product-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.badge-discount {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 212, 36, 0.9);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 4px;
    border-bottom-left-radius: 4px;
}

/* Bottom Navbar (Mobile) */
.bottom-nav {
    display: none;
    /* Desktop hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.bottom-nav-list {
    display: flex;
    height: 100%;
}

.nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    gap: 4px;
}

.nav-link ion-icon {
    font-size: 1.4rem;
}

.nav-link.active {
    color: var(--primary);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .navbar .container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Header Icons Scroll */
    .nav-icons {
        display: flex;
        gap: 0.8rem;
        flex: 1;
        /* Take remaining space */
        overflow-x: auto;
        /* Scroll horizontally */
        white-space: nowrap;
        padding-right: 1rem;
        /* Padding for scroll end */
        align-items: center;
        /* Hide Scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-icons::-webkit-scrollbar {
        display: none;
    }

    .nav-buttons {
        display: flex !important;
        /* Force show on mobile if hidden by default class */
        align-items: center;
        gap: 0.5rem;
    }


    .logo span {
        display: none;
        /* Hide text logo on mobile if needed for space, or keep it */
    }

    /* Hide desktop nav */
    .bottom-nav {
        display: block;
    }

    /* Show mobile nav */
    .search-wrapper {
        max-width: 100%;
    }

    /* Adjust grid */
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 0 6px;
    }

    /* Adjust Header */
    .navbar {
        height: var(--header-height-mobile);
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .btn-login-mobile {
        font-size: 0.8rem;
        padding: 4px 10px;
        background: white;
        color: var(--primary);
        border-radius: 2px;
        font-weight: 600;
    }

    /* Disable hover effects on mobile */
    .product-card:hover {
        transform: none;
        box-shadow: none;
        border-color: transparent;
    }
}

@media (min-width: 769px) {
    .grid-cols-2 {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .grid-cols-6-desktop {
        grid-template-columns: repeat(6, 1fr);
    }

    .container {
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .fs-list {
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }

    .fs-card {
        width: auto;
        min-width: auto;
    }
}

/* Helper for Ad Slider */
.ad-slider {
    height: 150px;
    background: #eee;
    border-radius: 0;
    overflow: hidden;
    margin-top: 50px;
    /* Offset for header */
    margin-bottom: 10px;
}

@media (min-width: 769px) {
    .ad-slider {
        height: 350px;
        border-radius: var(--radius);
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .fs-section-desktop {
        border-radius: var(--radius);
        border: 1px solid var(--border);
        overflow: hidden;
        margin-bottom: 1.5rem;
    }
}

--primary-light: #14b8a6;
/* Teal 500 */
--primary-dark: #115e59;
/* Teal 800 */
--secondary: #f59e0b;
/* Amber 500 */
--accent: #ef4444;
/* Red 500 */

/* Neutral */
--bg-body: #f1f5f9;
/* Slate 100 */
--bg-card: #ffffff;
--text-main: #0f172a;
/* Slate 900 */
--text-muted: #64748b;
/* Slate 500 */
--border: #e2e8f0;
/* Slate 200 */

/* Spacing */
--container-width: 1200px;
--header-height: 70px;

/* Shadows */
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
0 4px 6px -4px rgb(0 0 0 / 0.1);

/* Radius */
--radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-body);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Header */
.navbar {
    height: var(--header-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 99px;
    outline: none;
    font-family: inherit;
}

.search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-item:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.2s;
}

.icon-btn:hover {
    background-color: var(--bg-body);
    color: var(--text-main);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    border-radius: 99px;
    min-width: 1.2rem;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Products Grid */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-body);
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: white;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
}

/* Dashboard Sidebar */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

.sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border);
    padding: 1.5rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #f0fdf9;
    /* Teal 50 */
    color: var(--primary);
}

.main-content {
    flex: 1;
    padding: 2rem;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* Responsive */
@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        /* Mobile menu needed */
    }

    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* Ad Slider (Modern) */
.ad-slider {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 8s linear;
    /* Smooth fade & slow zoom */
    transform: scale(1.0);
    z-index: 1;
}

.ad-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.1);
    /* Zoom effect */
}

/* Gradient Overlay */
.ad-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.ad-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    z-index: 10;
    max-width: 600px;
    padding: 2rem;

    /* Glassmorphism */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-out;
    transition-delay: 0.3s;
}

.ad-slide.active .ad-content {
    transform: translateY(0);
    opacity: 1;
}

.ad-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.ad-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    border-radius: 99px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.ad-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color: white;
}

/* Dots Navigation */
.ad-dots {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 20;
    display: flex;
    gap: 0.8rem;
}

.ad-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.ad-dot.active {
    background: white;
    transform: scale(1.2);
    border-color: var(--primary);
}

@media(max-width: 768px) {
    .ad-slider {
        height: 300px;
    }

    .ad-content {
        left: 1rem;
        bottom: 1rem;
        right: 1rem;
        padding: 1.5rem;
    }

    .ad-title {
        font-size: 1.5rem;
    }

    .ad-dots {
        right: 50%;
        transform: translateX(50%);
        bottom: 1rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
    transition: 0.2s;
}

.toast:hover {
    transform: translateY(-2px);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toast-msg {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
}

.toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}