:root {
    /* Holy Color Palette */
    --primary: 45, 100%, 50%;
    /* Gold/Amber */
    --secondary: 210, 80%, 70%;
    /* Soft Heavenly Blue */
    --bg-dark: 220, 30%, 15%;
    /* Deep Navy */
    --glass-bg: 220, 30%, 20%;
    /* Slightly lighter Navy */
    --text-main: 45, 20%, 95%;
    /* Off-white / Cream */
    --text-muted: 220, 20%, 80%;
    /* Blue-ish Grey */
    --success: 150, 60%, 40%;

    --font-main: 'Outfit', sans-serif;

    --gradient-main: linear-gradient(135deg, hsl(var(--primary)), hsl(40, 90%, 65%));
    /* Gold Gradient */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--text-main));
    height: 100vh;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, hsla(var(--primary), 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, hsla(var(--secondary), 0.15) 0%, transparent 40%);
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    gap: 10px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    max-width: 55vw;
    /* Constraint moved here */
}

.nav-scroll-btn {
    background: hsla(var(--glass-bg), 0.5);
    border: 1px solid hsla(var(--primary), 0.2);
    color: hsl(var(--text-muted));
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.nav-scroll-btn:hover {
    background: hsla(var(--primary), 0.2);
    color: white;
}

@media (max-width: 768px) {
    .nav-scroll-btn {
        display: none;
    }

    .nav-wrapper {
        max-width: 100%;
        /* Full width on mobile */
    }
}

nav {
    display: flex;
    gap: 20px;
    background: hsla(var(--glass-bg), 0.5);
    padding: 10px 20px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid hsla(var(--primary), 0.2);

    /* Scrollable */
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    /* Take full width of wrapper */
    min-width: 0;
    flex-shrink: 1;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide Scrollbar for Chrome/Safari/Opera */
nav::-webkit-scrollbar {
    display: none;
}

nav a {
    color: hsl(var(--text-muted));
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    /* Prevent shrinking so scroll triggers */
}

nav a.active,
nav a:hover {
    color: white;
    background: hsla(var(--primary), 0.2);
}

/* Main */
main {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding-bottom: 20px;

    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: hsla(var(--primary), 0.5) transparent;
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Card */
.glass-card {
    background: hsla(var(--glass-bg), 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid hsla(255, 100%, 100%, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Upload */
.upload-card {
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.drop-zone {
    margin-top: 40px;
    border: 2px dashed hsla(var(--primary), 0.3);
    border-radius: 20px;
    padding: 60px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: hsl(var(--primary));
    background: hsla(var(--primary), 0.1);
}

.icon-large {
    font-size: 4rem;
    color: hsl(var(--text-muted));
    margin-bottom: 20px;
    transition: 0.3s;
}

.drop-zone:hover .icon-large {
    color: hsl(var(--primary));
    transform: scale(1.1);
}

.highlight {
    color: hsl(var(--secondary));
    font-weight: 600;
}

/* Gallery Layout */
.gallery-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Sidebar */
.gallery-sidebar {
    width: 250px;
    background: hsla(var(--glass-bg), 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid hsla(255, 100%, 100%, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 20px;
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid hsla(255, 100%, 100%, 0.1);
    padding-bottom: 10px;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    color: hsl(var(--primary));
    margin: 0;
    border: none;
    padding: 0;
}

.btn-small {
    background: hsla(var(--primary), 0.2);
    border: 1px solid hsla(var(--primary), 0.5);
    color: hsl(var(--primary));
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-small:hover {
    background: hsl(var(--primary));
    color: black;
}

.gallery-sidebar ul {
    list-style: none;
}

.gallery-sidebar li {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: 0.2s;
    color: hsl(var(--text-muted));
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space for delete btn */
    gap: 10px;
}

.folder-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.btn-delete-folder {
    background: none;
    border: none;
    color: hsl(0, 70%, 60%);
    cursor: pointer;
    opacity: 0;
    /* Hidden by default */
    padding: 5px;
    border-radius: 4px;
    transition: 0.2s;
}

.gallery-sidebar li:hover .btn-delete-folder {
    opacity: 1;
}

.btn-delete-folder:hover {
    background: hsla(0, 70%, 60%, 0.2);
}

.gallery-sidebar li:hover {
    background: hsla(var(--primary), 0.1);
    color: hsl(var(--text-main));
}

.gallery-sidebar li.active {
    background: var(--gradient-main);
    color: #fff;
    font-weight: 600;
}

.gallery-sidebar li i {
    opacity: 0.7;
}

/* Upload Select */
.upload-controls {
    margin-bottom: 20px;
}

.folder-select {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid hsla(255, 100%, 100%, 0.2);
    background: hsla(var(--glass-bg), 0.8);
    color: white;
    font-family: inherit;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

.folder-select option {
    background: hsl(var(--bg-dark));
}

.gallery-content {
    flex: 1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.video-card {
    background: hsla(var(--glass-bg), 0.8);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid hsla(255, 100%, 100%, 0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: hsla(var(--primary), 0.4);
}

.video-preview {
    width: 100%;
    height: 180px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.video-name {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.video-actions {
    display: flex;
    gap: 2px;
}

.btn-icon {
    background: none;
    border: none;
    color: hsl(var(--text-main));
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 50%;
    transition: 0.2s;
}

.btn-icon:hover {
    background: hsla(var(--primary), 0.2);
    color: hsl(var(--primary));
}

.btn-icon.delete {
    color: hsl(var(--text-muted));
}

.btn-icon.delete:hover {
    background: hsla(0, 70%, 60%, 0.2);
    color: hsl(0, 70%, 60%);
}

/* Chat */
/* Chat Layout */
.chat-layout {
    display: flex;
    height: 600px;
    /* Fixed height for chat window */
    overflow: hidden;
}

.chat-sidebar {
    width: 260px;
    background: hsla(0, 0%, 0%, 0.2);
    border-right: 1px solid hsla(255, 100%, 100%, 0.1);
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
}

/* New Chat Button */
/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-new-chat {
    flex: 1;
    padding: 12px;
    background: var(--gradient-main);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-new-chat:hover {
    filter: brightness(1.2);
}

/* Secondary Button (Cancel) */
.btn-secondary {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: hsl(var(--text-muted));
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
}

/* Warning Button (Update Mode) */
.btn-warning {
    background: linear-gradient(135deg, #f0932b, #ffbe76);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-warning:hover {
    filter: brightness(1.1);
}

.btn-icon {
    width: 44px;
    /* Match height of new chat btn */
    background: hsla(255, 100%, 100%, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /* For <a> tags */
}

.btn-icon:hover {
    background: hsla(255, 100%, 100%, 0.2);
}

/* Search Container */
.chat-search-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-bottom: 0;
}

.chat-search-container.open {
    max-height: 60px;
    margin-bottom: 15px;
}

#chatSearchInput {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid hsla(255, 100%, 100%, 0.1);
    background: hsla(0, 0%, 0%, 0.2);
    color: white;
}

#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--primary);
    /* Default Blue */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#toast.error {
    background-color: #ff4757;
    /* Red */
}

#toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Session List */
.session-list-container {
    flex: 1;
    overflow-y: auto;
}

#chatSessionList {
    list-style: none;
}

#chatSessionList li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: hsla(255, 100%, 100%, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    /* Contain overflow */
}

#chatSessionList li span {
    flex: 1;
    /* Take available width */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    /* Space before delete button */
}

#chatSessionList li:hover {
    background: hsla(255, 100%, 100%, 0.1);
}

#chatSessionList li.active {
    background: hsla(var(--primary), 0.3);
    border: 1px solid hsla(var(--primary), 0.5);
    color: white;
}

.btn-delete-session {
    background: transparent;
    border: none;
    color: hsla(0, 0%, 100%, 0.5);
    cursor: pointer;
    padding: 5px;
}

.btn-delete-session:hover {
    color: #ff6b6b;
}

/* Chat Header */
/* Chat Main Styling */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Prevent double scrollbars */
}

/* Chat View Container */
#chatViewContainer {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.chat-header {
    flex-shrink: 0;
    /* Keep header fixed size */
    padding: 15px 20px;
    border-bottom: 1px solid hsla(255, 100%, 100%, 0.1);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    background: hsla(0, 0%, 0%, 0.1);
}

.chat-header i {
    color: hsl(var(--primary));
    margin-right: 10px;
}

.chat-header-mobile {
    display: none;
    /* Hidden on desktop */
    padding: 10px;
    background: hsla(0, 0%, 0%, 0.3);
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chat-layout {
        position: relative;
    }

    .chat-sidebar {
        position: absolute;
        left: -100%;
        top: 0;
        bottom: 0;
        z-index: 100;
        background: hsl(220, 20%, 15%);
        /* Solid bg for overlay */
        transition: 0.3s ease;
        width: 80%;
    }

    .chat-sidebar.open {
        left: 0;
    }

    .chat-header-mobile {
        display: block;
    }
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 5px;
    /* Add spacing */
}

.message.bot {
    align-self: flex-start !important;
    background: hsla(var(--glass-bg), 0.8);
    border-bottom-left-radius: 4px;
    color: hsl(var(--text-main));
    text-align: left;
}

.message.user {
    align-self: flex-end !important;
    background: var(--gradient-main);
    color: black;
    /* Changed to black for better contrast on gold, or keep white if dark gradient */
    /* Let's keep existing color scheme but ensure it's visible */
    color: white;
    border-bottom-right-radius: 4px;
    text-align: left;
    /* Keep text left-aligned even if bubble is right */
}

.chat-input-area {
    padding: 20px;
    background: hsla(0, 0%, 0%, 0.2);
    display: flex;
    gap: 10px;
}

textarea {
    flex: 1;
    background: hsla(var(--glass-bg), 0.5);
    border: 1px solid hsla(255, 100%, 100%, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: white;
    font-family: inherit;
    resize: none;
    height: 50px;
}

textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

#sendBtn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: none;
    background: var(--gradient-main);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

#sendBtn:hover {
    filter: brightness(1.2);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: hsl(var(--success));
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    z-index: 2000;
    /* Ensure it is above login overlay (z-index 1000) */
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Chat Search View (Full Page) */
.chat-search-view {
    padding: 40px;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-header h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.search-bar-wrapper {
    width: 60%;
    max-width: 800px;
    background: hsla(255, 100%, 100%, 0.1);
    border-radius: 24px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.search-bar-wrapper:focus-within {
    background: hsla(255, 100%, 100%, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.search-bar-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.search-results-stats {
    margin-bottom: 20px;
    color: hsla(0, 0%, 100%, 0.6);
    font-size: 0.9rem;
    width: 60%;
    max-width: 800px;
}

.search-results-list {
    width: 60%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-result-item {
    background: hsla(0, 0%, 0%, 0.2);
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: hsla(0, 0%, 0%, 0.3);
    border-color: hsla(255, 100%, 100%, 0.1);
}

.result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.result-date {
    font-size: 0.8rem;
    color: hsla(0, 0%, 100%, 0.5);
    margin-bottom: 10px;
}

.result-preview {
    font-size: 0.95rem;
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .app-container {
        padding: 0 10px;
    }

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 20px;
    }

    .gallery-container {
        flex-direction: column;
    }

    .gallery-sidebar {
        width: 100%;
        position: static;
        overflow-x: auto;
    }

    .gallery-sidebar ul {
        display: flex;
        gap: 10px;
    }

    .gallery-sidebar li {
        white-space: nowrap;
    }
}

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    /* Flex by default, JS will hide if logged in */
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 20px;
    color: hsl(var(--primary));
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid hsla(255, 100%, 100%, 0.2);
    background: hsla(255, 100%, 100%, 0.1);
    color: white;
    font-size: 1rem;
}

.switch-auth {
    margin-top: 15px;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.switch-auth span {
    color: hsl(var(--primary));
    cursor: pointer;
    font-weight: bold;
}

.switch-auth span:hover {
    text-decoration: underline;
}

/* 메인 액션 버튼 (골드 테마) */
.btn-primary {
    background: var(--gradient-main);
    /* 정의해둔 골드 그라데이션 사용 */
    color: #1a1a1a;
    /* 배경이 밝은 골드색이므로 글자는 진한 색이 가독성에 좋습니다 */
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    /* 기존 요소들과 비슷한 둥글기 */
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;

    /* 텍스트와 아이콘 정렬을 위해 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 호버 효과 */
.btn-primary:hover {
    filter: brightness(1.15);
    /* 살짝 더 밝게 */
    transform: translateY(-2px);
    /* 살짝 위로 떠오르는 느낌 */
    box-shadow: 0 5px 15px hsla(var(--primary), 0.4);
    /* 골드빛 그림자 */
}

/* 클릭 효과 */
.btn-primary:active {
    transform: translateY(0);
    filter: brightness(1.0);
}

/* --- Daily Bread (日ごとの糧) Styles --- */
.daily-bread-card {
    background: rgba(0, 0, 0, 0.4);
    /* 배경을 살짝 어둡게 해서 글자가 잘 보이게 */
}

.daily-bread-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* 성경 선택/장/절 입력란을 한 줄로 정렬 */
.bible-selector-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 입력 필드 디자인 (진한 청록색 배경) */
.bible-selector-row select,
.bible-selector-row input {
    background: #104e6e;
    /* 요청하신 Deep Teal 색상 */
    border: 1px solid #1c6a8f;
    color: white;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    min-width: 100px;
}

/* Select 박스의 화살표를 흰색으로 커스텀 */
.bible-selector-row select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

/* '장', '절' 라벨 */
.bible-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
}

.daily-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.daily-content-wrapper label {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    /* 묵상 내용 타이틀 색상 */
}

/* 텍스트 입력창 (넓은 영역) */
.daily-content-wrapper textarea {
    background: #104e6e;
    border: 1px solid #1c6a8f;
    color: white;
    padding: 20px;
    border-radius: 4px;
    /* 이미지처럼 모서리를 살짝만 둥글게 */
    min-height: 200px;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
}

.daily-content-wrapper textarea:focus {
    outline: none;
    border-color: #4db6ac;
    /* 포커스 시 밝은 청록색 테두리 */
}

/* 등록된 묵상 리스트 아이템 디자인 */
.daily-bread-item {
    background: hsla(255, 100%, 100%, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #104e6e;
}

.daily-bread-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #4db6ac;
}

.daily-bread-item .meta {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
}