* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0e27 url('../images/medefino-background.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/medefino-background.jpg') center center / cover no-repeat;
    z-index: -2;
    opacity: 0.3;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.7) 0%, rgba(26, 31, 58, 0.8) 50%, rgba(10, 14, 39, 0.7) 100%);
    z-index: -1;
}

/* Day to Night Gradient Overlay - Moves with stars */
.day-night-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    background: linear-gradient(
        90deg,
        /* Day colors - warm oranges, yellows, light blues */
        rgba(255, 200, 100, 0.4) 0%,
        rgba(255, 180, 80, 0.3) 10%,
        rgba(200, 220, 255, 0.2) 20%,
        rgba(150, 200, 255, 0.15) 30%,
        /* Transition to evening */
        rgba(100, 150, 200, 0.1) 40%,
        rgba(80, 120, 180, 0.15) 50%,
        /* Night colors - deep blues, purples */
        rgba(50, 80, 150, 0.25) 60%,
        rgba(30, 50, 100, 0.35) 70%,
        rgba(20, 30, 60, 0.45) 80%,
        rgba(10, 20, 40, 0.55) 90%,
        rgba(5, 10, 25, 0.65) 100%
    );
    background-size: 200% 100%;
    animation: move-stars-right 300s linear infinite;
    opacity: 0.8;
}

/* Animated Stars Background - Moving Starfield */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* Layer 1: Small distant stars - many tiny points, moving slowly */
.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 50px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 80px 10px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 30px 60px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 70px 90px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 10px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 90px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 40px 20px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 60px 40px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 15px 55px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 110px 25px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 130px 65px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 95px 85px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 145px 15px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 25px 105px, rgba(255,255,255,0.8), transparent);
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: move-stars-right 300s linear infinite;
    opacity: 0.8;
}

/* Layer 2: Medium stars - brighter, moving faster */
.stars2 {
    background-image:
        radial-gradient(2px 2px at 100px 120px, rgba(255,255,255,0.95), transparent),
        radial-gradient(1.5px 1.5px at 150px 80px, rgba(255,255,255,0.85), transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 50px 180px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 180px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1.5px 1.5px at 120px 200px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 250px 100px, rgba(255,255,255,0.95), transparent),
        radial-gradient(1px 1px at 80px 220px, rgba(255,255,255,0.75), transparent),
        radial-gradient(2px 2px at 300px 180px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1.5px 1.5px at 220px 250px, rgba(255,255,255,0.85), transparent);
    background-size: 400px 400px;
    background-repeat: repeat;
    animation: move-stars-right 200s linear infinite;
    opacity: 0.7;
}

/* Layer 3: Large bright stars - twinkling effect, moving fastest */
.stars3 {
    background-image:
        radial-gradient(3px 3px at 200px 200px, rgba(255,255,255,1), transparent 70%),
        radial-gradient(2px 2px at 400px 300px, rgba(255,255,255,0.9), transparent 70%),
        radial-gradient(3px 3px at 600px 150px, rgba(255,255,255,1), transparent 70%),
        radial-gradient(2px 2px at 300px 500px, rgba(255,255,255,0.85), transparent 70%),
        radial-gradient(3px 3px at 500px 400px, rgba(255,255,255,0.95), transparent 70%),
        radial-gradient(2px 2px at 700px 250px, rgba(255,255,255,0.9), transparent 70%),
        radial-gradient(3px 3px at 800px 450px, rgba(255,255,255,1), transparent 70%),
        radial-gradient(2px 2px at 100px 600px, rgba(255,255,255,0.9), transparent 70%);
    background-size: 1000px 1000px;
    background-repeat: repeat;
    animation: move-stars-right 150s linear infinite, twinkle 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes move-stars-right {
    from {
        transform: translateX(-50%) translateY(-25%);
    }
    to {
        transform: translateX(0) translateY(0);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
}

.landing-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.85) 0%, rgba(26, 31, 58, 0.9) 50%, rgba(10, 14, 39, 0.85) 100%),
                url('../images/medefino-background.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 10px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-title.hero-fly-in {
    animation: hero-fly-in 1s ease-out both;
}

.hero-tagline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin: 1.25rem 0 0 0;
    opacity: 0.95;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-tagline.hero-fly-in {
    animation: hero-fly-in 1s ease-out 0.4s both;
}

@keyframes hero-fly-in {
    from {
        opacity: 0;
        transform: translateX(-120px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 1.5rem;
    opacity: 0.95;
    animation: fade-in 1.5s ease-in 0.3s both;
}

.hero-section {
    position: relative;
    padding: 3rem 1rem 4rem;
    min-height: 200px;
}

.hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 1.25rem;
    opacity: 0.9;
    animation: fly-in 1s ease-out 0.6s both;
}

.hero-section .hero-tagline {
    font-size: 2.5rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}
.hero-section .hero-tagline.hero-fly-in {
    animation: hero-fly-in 1s ease-out 0.4s both;
}

@keyframes fly-in {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    opacity: 0.85;
    line-height: 1.8;
    animation: fade-in 1.5s ease-in 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fade-in 1.5s ease-in 0.9s both;
}

/* Landing hero: star-theme gold (no pink) */
.btn-hero-primary {
    background: linear-gradient(135deg, #f4d03f 0%, #e8c547 50%, #d4a84b 100%);
    color: #0a0e27;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(244, 208, 63, 0.5), 0 0 30px rgba(244, 208, 63, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(244, 208, 63, 0.6), 0 0 40px rgba(244, 208, 63, 0.3);
    background: linear-gradient(135deg, #e8c547 0%, #d4a84b 100%);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, #0a0e27 0%, transparent 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 250"><path d="M0,250 L200,150 L400,200 L600,120 L800,180 L1000,100 L1200,150 L1200,250 Z" fill="%230a0e27" opacity="0.9"/><path d="M0,250 L150,180 L350,220 L550,150 L750,200 L950,130 L1200,180 L1200,250 Z" fill="%231a1f3a" opacity="0.7"/></svg>') no-repeat bottom;
    background-size: 100% 100%;
    z-index: 1;
}

/* Features Section */
.features-section {
    background: white;
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* About / Documentation Section (landing page) */
.about-section {
    background: rgba(10, 14, 39, 0.6);
    padding: 5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-section .section-title {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.about-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 168, 75, 0.1);
    border-color: rgba(212, 168, 75, 0.25);
}

.about-card h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.about-link {
    color: #e8c547;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
}

.about-link:hover {
    color: #f4d03f;
    transform: translateX(4px);
}

.about-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Entries Preview Section */
.entries-preview-section {
    background: linear-gradient(135deg, #d4a84b 0%, #b3ffe0 50%, #e8ecf8 100%);
    padding: 5rem 0;
}

.entries-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.preview-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.preview-card:hover {
    transform: translateY(-5px);
}

.preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.preview-content {
    padding: 1.5rem;
}

.preview-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.preview-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.preview-link {
    color: #e8c547;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.preview-link:hover {
    color: #c9a227;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.empty-preview {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-preview p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

main {
    position: relative;
    z-index: 1;
}

/* Space Theme - Milky Way Background for Pages */
.space-theme-page {
    position: relative;
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(179, 255, 224, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 20%, rgba(217, 179, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2a1f3a 50%, #1a1f3a 75%, #0a0e27 100%);
    padding: 2rem 0;
    overflow-x: hidden;
}

.space-theme-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 80px 80px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 100px 40px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 120px 90px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 150px 20px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 180px 60px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 200px 100px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 220px 30px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 250px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 280px 50px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 300px 10px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 320px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 350px 40px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 380px 90px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2px 2px at 400px 20px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 420px 60px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 450px 100px, rgba(255, 255, 255, 0.6), transparent);
    background-size: 500px 500px;
    background-repeat: repeat;
    opacity: 0.6;
    animation: twinkle-stars-space 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.space-theme-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 400px at 30% 40%, rgba(212, 168, 75, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 70% 60%, rgba(179, 255, 224, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 500px 250px at 50% 20%, rgba(217, 179, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: nebula-drift-space 20s ease-in-out infinite;
}

@keyframes twinkle-stars-space {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes nebula-drift-space {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(10px, -5px) scale(1.05);
        opacity: 0.8;
    }
}

/* Space-themed content containers */
.space-content-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Space-themed cards */
.space-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
    transition: all 0.3s ease;
}

.space-card:hover {
    box-shadow: 
        0 6px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(212, 168, 75, 0.2);
    transform: translateY(-2px);
}

/* Space-themed text */
.space-text-light {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.space-text-muted {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.space-heading {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #b3ffe0;
}

.user-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a84b 0%, #c9a227 100%);
    color: #333;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 168, 75, 0.5);
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
}

/* Nav "New Entry" / starry-theme accent - yellow to match stars */
.nav-link.btn-primary {
    background: linear-gradient(135deg, #f4d03f 0%, #f1c40f 100%);
    color: #0a0e27;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
}
.nav-link.btn-primary:hover {
    background: linear-gradient(135deg, #f1c40f 0%, #d4ac0d 100%);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
    color: #0a0e27;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* Header Section */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .header-section {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.header-section h2 {
    color: #333;
    margin: 0;
}

.space-theme-page .header-section h2 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Home: Define yourself CTA – matches hero size and style */
.define-yourself-cta {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}
.define-yourself-cta.hero-fly-in {
    animation: hero-fly-in 1s ease-out 0.4s both;
}
.define-yourself-btn {
    display: inline-block;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.4) 0%, rgba(201, 162, 39, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}
.define-yourself-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(212, 168, 75, 0.35);
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.55) 0%, rgba(201, 162, 39, 0.65) 100%);
    color: white;
}

/* Entries Grid */
.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.entry-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .entry-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.entry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
    border-color: rgba(179, 255, 224, 0.6);
}

.space-theme-page .entry-card:hover {
    box-shadow: 
        0 6px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(212, 168, 75, 0.2);
    border-color: rgba(212, 168, 75, 0.5);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.entry-header h3 {
    margin: 0;
    flex: 1;
}

.entry-header h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.space-theme-page .entry-header h3 a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.entry-header h3 a:hover {
    color: #e8c547;
}

.space-theme-page .entry-header h3 a:hover {
    color: #d4a84b;
    text-shadow: 0 0 15px rgba(212, 168, 75, 0.5);
}

/* Pencil Icon Button with Dropdown - Shared Styles */
.event-actions-dropdown {
    position: relative;
    display: inline-block;
}

.pencil-icon-btn {
    background: linear-gradient(135deg, #e8c547 0%, #d4a84b 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 168, 75, 0.3);
    color: #0a0e27;
}

.pencil-icon-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 4px 12px rgba(212, 168, 75, 0.5);
}

.pencil-icon-btn svg {
    width: 20px;
    height: 20px;
}

.dropdown-menu {
    position: absolute;
    top: 45px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(212, 168, 75, 0.1) 0%, rgba(179, 255, 224, 0.1) 100%);
    color: #0a0e27;
}

.dropdown-item.delete-item:hover {
    background: rgba(255, 99, 99, 0.1);
    color: #d32f2f;
}

.entry-actions {
    display: flex;
    gap: 0.5rem;
}

.entry-preview {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.space-theme-page .entry-preview {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.entry-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #999;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.space-theme-page .entry-meta {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .empty-state {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.empty-state h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.space-theme-page .empty-state h3 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.empty-state p {
    color: #666;
    margin-bottom: 2rem;
}

.space-theme-page .empty-state p {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(179, 255, 224, 0.4);
}

.main-title {
    text-align: center;
    color: #e8c547;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.login-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.login-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.space-theme-page .form-group label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.space-theme-page .form-control {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

.space-theme-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: #b3ffe0;
    box-shadow: 0 0 0 3px rgba(179, 255, 224, 0.2);
}

.space-theme-page .form-control:focus {
    border-color: rgba(212, 168, 75, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

/* Direct input and textarea styling for Django forms */
.space-theme-page input[type="text"],
.space-theme-page input[type="datetime-local"],
.space-theme-page input[type="date"],
.space-theme-page textarea,
.space-theme-page select {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px;
    padding: 0.75rem;
    width: 100%;
}

.space-theme-page input[type="text"]::placeholder,
.space-theme-page textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.space-theme-page input[type="text"]:focus,
.space-theme-page input[type="datetime-local"]:focus,
.space-theme-page input[type="date"]:focus,
.space-theme-page textarea:focus,
.space-theme-page select:focus {
    outline: none;
    border-color: rgba(212, 168, 75, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.2);
    background: rgba(255, 255, 255, 0.15) !important;
}

input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed rgba(179, 255, 224, 0.5);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.space-theme-page input[type="file"] {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

input[type="file"]:hover {
    border-color: #b3ffe0;
    background: rgba(255, 255, 255, 0.8);
}

.space-theme-page input[type="file"]:hover {
    border-color: rgba(212, 168, 75, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.current-image {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(179, 255, 224, 0.1);
    border-radius: 8px;
}

.current-image p {
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 500;
}

.space-theme-page .current-image {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.space-theme-page .current-image p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.entry-image img,
.entry-image-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.login-hint {
    text-align: center;
    margin-top: 1.5rem;
    color: #999;
    font-size: 0.875rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* Entry Detail */
.entry-detail {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .entry-detail {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.entry-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.space-theme-page .entry-header-actions {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.entry-content h1 {
    color: #333;
    margin-bottom: 1rem;
}

.space-theme-page .entry-content h1 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.entry-body {
    margin-top: 2rem;
    line-height: 1.8;
    color: #444;
    white-space: pre-wrap;
}

.space-theme-page .entry-body {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Form */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .form-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.space-theme-page .form-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.form-header h2 {
    color: #333;
    margin: 0;
}

.space-theme-page .form-header h2,
.space-theme-page .form-header h1 {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.entry-form {
    margin-top: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.space-theme-page .form-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.space-theme-page .error-message {
    color: rgba(212, 168, 75, 0.9);
    text-shadow: 0 0 10px rgba(212, 168, 75, 0.5);
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(179, 255, 224, 0.3);
}

.comments-section h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.space-theme-page .comments-section {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.space-theme-page .comments-section h2,
.space-theme-page .comments-heading {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.5rem;
}

.comment-form {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.space-theme-page .comment-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comment {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #b3ffe0;
}

.space-theme-page .comment {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left-color: rgba(212, 168, 75, 0.6);
}

.comment strong {
    color: #e8c547;
}

.space-theme-page .comment strong {
    color: rgba(212, 168, 75, 0.95);
    text-shadow: 0 0 10px rgba(212, 168, 75, 0.5);
}

.comment span {
    color: #999;
    font-size: 0.875rem;
}

.space-theme-page .comment span {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.comment p {
    color: #333;
    margin: 0;
}

.space-theme-page .comment p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.comments-section p {
    color: #666;
}

.space-theme-page .comments-section p,
.space-theme-page .comments-empty,
.space-theme-page .comments-login-prompt {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.space-theme-page .comments-empty {
    font-style: italic;
}

.space-theme-page .comments-login-prompt {
    margin-bottom: 2rem;
}

.comments-section a {
    color: #e8c547;
}

.space-theme-page .comments-section a {
    color: rgba(212, 168, 75, 0.9);
    text-shadow: 0 0 10px rgba(212, 168, 75, 0.5);
}

/* Delete Confirm */
.delete-confirm {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.delete-confirm h2 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.delete-confirm p {
    margin-bottom: 1rem;
    color: #333;
}

.warning {
    color: #dc3545;
    font-weight: 600;
}

.delete-form {
    margin-top: 2rem;
}

/* Delete Confirm Container and Card */
.delete-confirm-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
}

.delete-confirm-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(212, 168, 75, 0.2);
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(179, 255, 224, 0.3);
}

.space-theme-page .delete-confirm-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(212, 168, 75, 0.1);
}

.delete-confirm-card h1 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.space-theme-page .delete-confirm-card h1 {
    color: rgba(255, 99, 99, 0.95);
    text-shadow: 0 0 15px rgba(255, 99, 99, 0.5);
}

.delete-confirm-card p {
    margin-bottom: 1rem;
    color: #333;
}

.space-theme-page .delete-confirm-card p {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.space-theme-page .delete-confirm-card strong {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.delete-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(102, 102, 102, 0.8);
    margin-top: 2rem;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 14, 39, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 300px;
}

.music-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: transform 0.3s;
    color: white;
    flex-shrink: 0;
}

.music-toggle:hover {
    transform: scale(1.1);
}

.music-toggle.playing .music-icon {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.music-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.music-credits {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.music-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.music-artist {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin: 0;
}

.music-artist strong {
    color: #b3ffe0;
    font-weight: 600;
}

.music-link {
    color: #d4a84b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25rem;
    transition: all 0.3s;
    display: inline-block;
}

.music-link:hover {
    color: #c9a227;
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .music-player {
        max-width: 250px;
        padding: 0.75rem 1rem;
    }
    
    .music-info {
        font-size: 0.8rem;
    }
    
    .music-title {
        font-size: 0.85rem;
    }
    
    .music-artist {
        font-size: 0.75rem;
    }
    
    .music-link {
        font-size: 0.75rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-section {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .entries-grid {
        grid-template-columns: 1fr;
    }
    
    .entry-header-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .form-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

