/* ==============================================
   Portfolio System — Premium Dark Theme CSS
   Behance-inspired Masonry Grid + Lightbox
   ============================================== */

/* ===== PORTFOLIO CATEGORIES PAGE ===== */
.portfolio-hero {
    position: relative;
    padding: 100px 0 60px;
    text-align: center;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.portfolio-hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    letter-spacing: 0.5px;
}

.portfolio-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    position: relative;
}

.portfolio-hero p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 16px;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Categories Grid */
.portfolio-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 40px;
}

.portfolio-cat-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-cat-card:hover {
    border-color: rgba(255, 107, 53, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.12), 0 0 30px rgba(255, 107, 53, 0.05);
}

/* Top glow on hover */
.portfolio-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s, width 0.4s;
    z-index: 2;
}
.portfolio-cat-card:hover::before {
    opacity: 1;
    width: 200px;
}

.portfolio-cat-icon-wrap {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
}

.portfolio-cat-icon-wrap img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
}

.portfolio-cat-card:hover .portfolio-cat-icon-wrap img {
    transform: scale(1.12) rotate(-2deg);
}

/* Ambient gradient behind icon */
.portfolio-cat-icon-wrap::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}
.portfolio-cat-card:hover .portfolio-cat-icon-wrap::after {
    opacity: 1;
}

.portfolio-cat-info {
    padding: 20px 22px 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-cat-name {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.3s;
}
.portfolio-cat-card:hover .portfolio-cat-name {
    color: var(--accent);
}

.portfolio-cat-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}
.portfolio-cat-count span {
    color: var(--accent);
    font-weight: 800;
}

/* Folder tab effect */
.portfolio-cat-card::after {
    content: '';
    position: absolute;
    top: -1px;
    right: 20px;
    width: 50px;
    height: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: background 0.3s, border-color 0.3s;
}
.portfolio-cat-card:hover::after {
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
}


/* ===== PORTFOLIO PROJECTS (Behance-style Masonry) ===== */
.portfolio-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.portfolio-breadcrumb a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.portfolio-breadcrumb a:hover {
    color: var(--accent);
}
.portfolio-breadcrumb .sep {
    color: rgba(255,255,255,0.2);
}
.portfolio-breadcrumb .current {
    color: var(--accent);
    font-weight: 700;
}

.portfolio-category-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.portfolio-category-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.portfolio-category-header p {
    color: rgba(255,255,255,0.4);
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.portfolio-stats-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.portfolio-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.portfolio-stat .num {
    color: var(--accent);
    font-weight: 800;
    font-size: 18px;
}

/* Masonry Grid */
.masonry-grid {
    columns: 3;
    column-gap: 25px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 25px;
    display: inline-block;
    width: 100%;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 53, 0.08);
}

.project-card-image {
    position: relative;
    overflow: hidden;
    background: #111;
}

.project-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-image img {
    transform: scale(1.06);
}

/* Overlay on hover */
.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-overlay-info {
    width: 100%;
}

.project-card-overlay-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.project-card-overlay-client {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.project-card-overlay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    background: var(--accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s;
}
.project-card-overlay-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

/* Project Card Info (below image) */
.project-card-body {
    padding: 18px 20px;
}

.project-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.2s;
    line-height: 1.4;
}
.project-card:hover .project-card-title {
    color: var(--accent);
}

.project-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.project-card-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.project-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    transition: all 0.2s;
}
.project-tag:hover {
    border-color: rgba(255,107,53,0.3);
    color: var(--accent);
    background: rgba(255,107,53,0.08);
}


/* ===== PROJECT DETAIL PAGE ===== */
.project-detail-hero {
    position: relative;
    padding: 40px 0 20px;
}

.project-detail-header {
    margin-bottom: 40px;
}

.project-detail-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.project-meta-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s;
}
.project-meta-item:hover {
    border-color: rgba(255,107,53,0.2);
    background: rgba(255,107,53,0.04);
}

.project-meta-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.project-meta-label {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.project-meta-value {
    font-size: 15px;
    color: #fff;
    font-weight: 800;
}

/* Project Gallery */
.project-gallery {
    margin: 40px 0;
}

.project-gallery-grid {
    display: grid;
    gap: 15px;
}

.project-gallery-grid.single-col {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}

.project-gallery-grid.multi-col {
    grid-template-columns: repeat(2, 1fr);
}

.project-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}
.project-gallery-item:hover {
    border-color: rgba(255,107,53,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.project-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}
.project-gallery-item:hover img {
    transform: scale(1.03);
}

.project-gallery-item .zoom-icon {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 28px;
    color: #fff;
}
.project-gallery-item:hover .zoom-icon {
    opacity: 1;
}

/* Project Description */
.project-description {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 35px;
    margin: 30px 0;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

/* Share Buttons */
.project-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.project-share-label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.share-btn:hover {
    transform: translateY(-3px);
}
.share-btn.fb:hover { background: rgba(24,119,242,0.2); border-color: rgba(24,119,242,0.3); color: #1877f2; }
.share-btn.tw:hover { background: rgba(29,161,242,0.2); border-color: rgba(29,161,242,0.3); color: #1da1f2; }
.share-btn.wa:hover { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.3); color: #25d366; }
.share-btn.li:hover { background: rgba(0,119,181,0.2); border-color: rgba(0,119,181,0.3); color: #0077b5; }
.share-btn.cp:hover { background: rgba(255,107,53,0.2); border-color: rgba(255,107,53,0.3); color: var(--accent); }

/* Related Projects */
.related-projects {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.related-projects h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}


/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(10px);
}
.lightbox-close:hover {
    background: rgba(255,107,53,0.3);
    border-color: rgba(255,107,53,0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(10px);
}
.lightbox-nav:hover {
    background: rgba(255,107,53,0.3);
    border-color: rgba(255,107,53,0.5);
}
.lightbox-prev { right: 25px; }
.lightbox-next { left: 25px; }

.lightbox-counter {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 700;
    z-index: 10001;
}


/* ===== PAGINATION ===== */
.portfolio-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 20px 0;
}

.portfolio-pagination a,
.portfolio-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
}

.portfolio-pagination a {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
}
.portfolio-pagination a:hover {
    background: rgba(255,107,53,0.1);
    border-color: rgba(255,107,53,0.3);
    color: var(--accent);
    transform: translateY(-2px);
}

.portfolio-pagination .active {
    background: linear-gradient(135deg, var(--accent), #e55a25);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.portfolio-pagination .disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Empty State */
.portfolio-empty {
    text-align: center;
    padding: 80px 20px;
}
.portfolio-empty-icon {
    font-size: 60px;
    margin-bottom: 18px;
    opacity: 0.3;
}
.portfolio-empty h3 {
    color: rgba(255,255,255,0.3);
    font-size: 20px;
    margin-bottom: 8px;
}
.portfolio-empty p {
    color: rgba(255,255,255,0.2);
    font-size: 14px;
}


/* ===== ANIMATIONS ===== */
@keyframes portfolioFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.portfolio-animate {
    opacity: 0;
    animation: portfolioFadeUp 0.6s ease-out forwards;
}

.portfolio-animate-delay-1 { animation-delay: 0.1s; }
.portfolio-animate-delay-2 { animation-delay: 0.2s; }
.portfolio-animate-delay-3 { animation-delay: 0.3s; }
.portfolio-animate-delay-4 { animation-delay: 0.4s; }
.portfolio-animate-delay-5 { animation-delay: 0.5s; }
.portfolio-animate-delay-6 { animation-delay: 0.6s; }
.portfolio-animate-delay-7 { animation-delay: 0.7s; }
.portfolio-animate-delay-8 { animation-delay: 0.8s; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .portfolio-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .masonry-grid {
        columns: 2;
    }
}

@media (max-width: 900px) {
    .portfolio-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .masonry-grid {
        columns: 2;
        column-gap: 18px;
    }
    .masonry-item {
        margin-bottom: 18px;
    }
    .project-gallery-grid.multi-col {
        grid-template-columns: 1fr;
    }
    .project-detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .portfolio-cat-icon-wrap {
        height: 160px;
    }
    .portfolio-cat-icon-wrap img {
        width: 110px;
        height: 110px;
    }
    .masonry-grid {
        columns: 1;
    }
    .portfolio-hero {
        padding: 60px 0 30px;
    }
    .project-detail-meta-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-nav { display: none; }
}


/* ===== ADMIN PORTFOLIO STYLES ===== */
.portfolio-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-admin-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.portfolio-admin-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.portfolio-admin-card-img {
    height: 160px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-admin-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.portfolio-admin-card-body {
    padding: 18px;
}

.portfolio-admin-card-title {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    margin-bottom: 6px;
}

.portfolio-admin-card-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.portfolio-admin-card-actions {
    display: flex;
    gap: 8px;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
}
.drop-zone.dragover {
    border-color: var(--accent-color);
    background: rgba(255,107,53,0.06);
}
.drop-zone-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.5;
}
.drop-zone-text {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-weight: 600;
}
.drop-zone-sub {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
    margin-top: 6px;
}

/* Image Preview Grid */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #111;
    aspect-ratio: 1;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-remove {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239,68,68,0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
    opacity: 0;
}
.image-preview-item:hover .image-preview-remove {
    opacity: 1;
}
.image-preview-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 26px;
    transition: all 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    right: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s;
}
.toggle-switch input:checked + .toggle-slider {
    background: var(--accent-color, #ff6b35);
}
.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(-22px);
}

/* Success/Error Toast */
.toast-msg {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s;
    pointer-events: none;
}
.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-msg.success {
    background: rgba(16,185,129,0.2);
    border: 1px solid rgba(16,185,129,0.3);
    color: #34d399;
}
.toast-msg.error {
    background: rgba(239,68,68,0.2);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
}
