/* --- CSS VARIABLES & RESET --- */
:root {
    --header-bg: #0B0F61;
    --primary-blue: #3498db;
    --secondary-blue: #85c1e9;
    --dark-blue: #1a252f;
    --light-bg: #eaf6ff;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --accent: #2980b9;
    --script-font: 'Great Vibes', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* --- HEADER & LOGO --- */
header {
    background-color: var(--header-bg);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Updated Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    /* Increased size */
    font-family: var(--script-font);
    /* Applied script font */
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
}

.logo img {
    height: 60px;
    /* Slightly larger */
    width: auto;
    border-radius: 50%;
    /* Circular logo */
    background: white;
    padding: 2px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    /* Background Image setup */
    background: linear-gradient(rgba(11, 15, 97, 0.7), rgba(11, 15, 97, 0.5)), url('images/hero-bg.png');
    /* Updated opacity and Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    /* Layout */
    height: 100vh;
    /* Full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);

    /* Positioning for the curve */
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-bottom: 50px;
    /* Space for curve */
}

.hero h1 {
    font-family: var(--script-font);
    font-size: 5rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-style: italic;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Fix for sub-pixel rendering gaps */
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.5);
    /* Stretch to make curve gentler */
    z-index: 2;
}

/* Remove old pseudo-element */
.hero::before {
    display: none;
}

/* Small Hero for Subpages */
.hero-small {
    height: 40vh;
    background: linear-gradient(rgba(11, 15, 97, 0.9), rgba(11, 15, 97, 0.9));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

/* --- SECTIONS GENERAL --- */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

/* --- FOUNDER GRID --- */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-img-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.founder-img-wrapper img {
    width: 100%;
    max-width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* --- VISION, GOALS, VALUES --- */
.vgv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vgv-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    transition: 0.3s;
    background: #fff;
    height: 100%;
}

.vgv-card:hover {
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.15);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.vgv-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- BLOG GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- CONTACT FORM --- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* --- FOOTER --- */
footer {
    background: var(--header-bg);
    /* Dark blue */
    color: #e0e0e0;
    padding: 80px 0 20px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    /* Specific proportions */
    gap: 60px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer Logo Specifics */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: var(--script-font);
    font-size: 2.5rem;
    color: var(--white);
}

.footer-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .founder-img-wrapper img {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-card-featured {
        order: -1;
        /* Founder first on mobile */
    }
}

/* --- TEAM SECTION --- */
.team-section {
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.team-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.2);
}

.team-card:hover::before {
    opacity: 1;
}

.team-card-inner {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
}

/* Featured Card (Founder) */
.team-card-featured {
    background: linear-gradient(135deg, rgba(11, 15, 97, 0.95) 0%, rgba(52, 152, 219, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.team-card-featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.team-card-featured .team-name,
.team-card-featured .team-title,
.team-card-featured .team-role {
    color: var(--white);
}

.team-card-featured .team-role {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.founder-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

/* Avatar */
.team-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.avatar-placeholder.founder {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.4);
}

.team-card:hover .avatar-placeholder {
    transform: scale(1.1);
}

/* Team Info */
.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.team-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.team-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Team Socials */
.team-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: auto;
}

.social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

.team-card-featured .social-icon {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.team-card-featured .social-icon:hover {
    background: white;
    color: var(--primary-blue);
}

.team-card-featured .social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.team-card-featured .social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Social Tooltip */
.social-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--dark-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark-blue);
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* --- FOOTER SOCIAL ICONS --- */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-grid .footer-col:last-child {
    display: flex;
    flex-direction: column;
}

.footer-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-icon svg {
    width: 22px;
    height: 22px;
}

.footer-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.footer-social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
}

@media (max-width: 768px) {
    .footer-socials {
        justify-content: center;
    }
}

/* --- BLOG USER BAR --- */
.blog-user-bar {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.user-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-label {
    font-weight: 500;
    color: var(--text-light);
}

.user-email-input {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 280px;
    max-width: 100%;
    transition: border-color 0.3s ease;
}

.user-email-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    margin-top: 0;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.user-badge.owner {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* --- BLOG ACTIONS --- */
.blog-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.btn-share {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-share svg {
    transition: transform 0.3s ease;
}

.btn-share:hover svg {
    transform: rotate(90deg);
}

/* --- BLOG CARD ACTION BUTTONS --- */
.blog-actions-btns {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-actions-btns {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.edit-btn {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.edit-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.delete-btn {
    background: white;
    color: #e74c3c;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.delete-btn:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.blog-img {
    position: relative;
}

.blog-meta {
    margin-bottom: 10px;
}

.blog-author {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 500;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.modal-tab {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-tab.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.modal-tab:hover:not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Blog Form */
.blog-form .form-group {
    margin-bottom: 20px;
}

.blog-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.blog-form input,
.blog-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.blog-form input:focus,
.blog-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.blog-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.btn-full {
    width: 100%;
}

/* --- NOTIFICATIONS --- */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.notification.error {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* --- RESPONSIVE BLOG STYLES --- */
@media (max-width: 768px) {
    .blog-user-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .user-identity {
        flex-direction: column;
        align-items: stretch;
    }

    .user-email-input {
        width: 100%;
    }

    .blog-actions {
        justify-content: center;
    }

    .modal-content {
        padding: 25px;
        margin: 10px;
    }

    .modal-tabs {
        flex-direction: column;
    }

    .notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* --- PASSWORD FIELD --- */
.password-field {
    margin-top: 10px;
}

.password-field input {
    width: 200px;
}

/* --- IMAGE UPLOAD TOGGLE --- */
.image-upload-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.toggle-btn {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.toggle-btn:hover:not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* --- FILE UPLOAD --- */
.file-upload-label {
    display: block;
    cursor: pointer;
}

.file-upload-label input[type="file"] {
    display: none;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    border: 2px dashed var(--primary-blue);
    border-radius: 10px;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.file-upload-btn:hover {
    background: var(--light-bg);
    border-style: solid;
}

/* --- IMAGE PREVIEW --- */
.image-preview {
    margin-top: 15px;
}

.preview-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.preview-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.remove-preview {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e74c3c;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.remove-preview:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* --- ADMIN CHANGE PASSWORD BUTTON --- */
.change-password-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 10px;
    text-decoration: underline;
    opacity: 0.8;
}

.change-password-btn:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .password-field input {
        width: 100%;
    }

    .image-upload-toggle {
        flex-direction: column;
    }
}

/* --- SECONDARY BUTTON & RESTORE --- */
.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.btn-restore {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-restore svg {
    transition: transform 0.3s ease;
}

.btn-restore:hover svg {
    transform: rotate(-360deg);
}

.blog-actions {
    gap: 15px;
}