﻿/* Toast base + success + error (final version) */
.toast-notification {
    position: fixed;
    top: 20px;
    right: -420px;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    min-width: 300px;
    max-width: 380px;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: slideIn 0.6s ease forwards;
}

.success-toast {
    background: linear-gradient(135deg, #198754, #28a745);
}

.error-toast {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

@keyframes slideIn {
    from {
        right: -420px;
        opacity: 0;
    }

    to {
        right: 20px;
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        right: 20px;
        opacity: 1;
    }

    to {
        right: -420px;
        opacity: 0;
    }
}



body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    /*background-color: #f8f9fa;*/
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
}

iframe.goog-te-banner-frame {
    pointer-events: none;
}



/* Page content push down */
body {
    position: relative;
}

/* If navbar is fixed */
.navbar,
header {
    transition: top 0.3s ease;
}


/* Capitalize translated English text */
.goog-te-menu-value span,
.navbar-nav .nav-link {
    text-transform: capitalize !important;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.form-control {
    border-radius: 0.5rem;
}


/* ===== AUTH PAGES DESIGN ===== */

.login-card {
    box-shadow: 0 10px 25px rgba(13,110,253,0.25), 0 0 0 1px rgba(13,110,253,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .login-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(25,135,84,0.35), 0 0 0 1px rgba(25,135,84,0.08);
    }

/* Header gradient */
.login-header {
    background: linear-gradient( 135deg, #0d6efd, #6610f2 );
}

/* Input polish */
.form-control {
    border-radius: 0.6rem;
    padding: 0.55rem 0.75rem;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13,110,253,0.25);
    }

.dropdown-item {
    white-space: nowrap;
}

.badge {
    display: inline-block;
    font-size: 0.75em;
    padding: .35em .65em;
}


.hero-section {
    background: linear-gradient(120deg, #4b2e83, #1f1c2c);
    padding: 70px 0;
}

.hero-img {
    max-height: 280px;
}

.category-box {
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .category-box:hover {
        transform: translateY(-6px);
    }

.poetry {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

.gallery {
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.document {
    background: linear-gradient(135deg, #d4fc79, #96e6a1);
}


.post-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

.post-img {
    height: 200px;
    object-fit: cover;
}

.author-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.author-avatar {
    font-size: 40px;
}
.quote-section {
    background: #f9f7f3;
    padding: 50px 0;
    font-style: italic;
    font-size: 22px;
}
body {
    font-family: 'Noto Sans Devanagari', sans-serif;
    /*background-color: #fafafa;*/
}
.card-footer {
    background: linear-gradient(135deg, #f8f9fa, #eef1f5);
    border-top: none;
}
.card-footer {
    border-top: 1px solid #eee;
}

.colorful-card {
    border-bottom: 4px solid #ff7675;
}
    .colorful-card:nth-child(2n) {
        border-bottom-color: #6c5ce7;
    }

    .colorful-card:nth-child(3n) {
        border-bottom-color: #00b894;
    }
body {
    background-color: #fdfaf6;
}

.card-footer {
    background: linear-gradient(135deg, #f8f9fa, #eef1f5);
    border-top: none;
}
    .card-footer small {
        color: #555;
        font-weight: 500;
    }


.hero-section {
    background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
    padding: 90px 0;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 20px;
    margin: 20px 0 30px;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-icon {
    font-size: 70px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}


.section-title {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

    .section-title span {
        background: linear-gradient(135deg, #ff512f, #dd2476);
        color: #fff;
        padding: 12px 28px;
        border-radius: 30px;
        font-size: 20px;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }


.colorful-card {
    border: none;
    border-top: 5px solid transparent;
}

    .colorful-card:nth-child(1n) {
        border-top-color: #ff6b6b;
    }

    .colorful-card:nth-child(2n) {
        border-top-color: #6c5ce7;
    }

    .colorful-card:nth-child(3n) {
        border-top-color: #00b894;
    }

.post-type-badge {
    background: #f1f2f6;
    color: #2d3436;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 20px;
}

.view-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    border-radius: 20px;
    padding: 6px 14px;
    border: none;
}

    .view-btn:hover {
        opacity: 0.9;
    }
.colorful-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}
