body { 
    font-family: sans-serif; 
    background: #fff; 
    color: #333; 
    margin: 0; 
    line-height: 1.6; 
}

.site-header { 
    background: #f9f9f9; 
    border-bottom: 1px solid #eee; 
    padding: 15px 0; 
    text-align: center; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

.container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.image-navigation { 
    display: flex; 
    justify-content: space-between; 
    margin: 30px 0; 
}

.nav-link { 
    text-decoration: none; 
    color: #667eea; 
    font-weight: 600; 
    font-size: 14px; 
    padding: 8px 16px; 
    border: 1px solid #eee; 
    border-radius: 20px; 
    background: #fff; 
    transition: 0.2s;
}

.nav-link:hover { 
    background: #667eea; 
    color: #fff; 
    border-color: #667eea; 
}

/* Font Awesome icons in navigation */
.nav-link i {
    margin: 0 5px;
    font-size: 12px;
}

.attachment-page { 
    text-align: center; 
    margin: 40px 0; 
}

.attachment-img { 
    max-width: 100%; 
    height: auto; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    border-radius: 8px; 
}

.entry-title { 
    font-size: 32px; 
    margin: 20px 0 10px 0; 
    font-weight: 700; 
    color: #222; 
}

/* Description Box */
.entry-content { 
    max-width: 700px; 
    margin: 20px auto; 
    color: #555; 
    text-align: left; 
    padding: 30px; 
    background: #fff; 
    border: 1px solid #eee; 
    border-radius: 8px; 
    min-height: 100px;
}

/* Empty State Style */
.entry-content.empty-state {
    color: #ccc;
    font-style: italic;
    background: #fafafa;
    border: 2px dashed #eee;
}

.entry-content.empty-state:before {
    content: "📝 Add Description (HTML supported)";
    display: block;
    text-align: center;
    padding-top: 20px;
}

.details-box { 
    background: #f9f9f9; 
    padding: 20px; 
    border: 1px solid #eee; 
    margin: 30px auto; 
    width: fit-content; 
    text-align: left; 
    border-radius: 8px; 
}

.detail-row { 
    display: flex; 
    justify-content: space-between; 
    width: 320px; 
    padding: 8px 0; 
    border-bottom: 1px solid #eee; 
    font-size: 14px; 
}

.detail-row span:first-child i {
    width: 20px;
    margin-right: 8px;
    color: #667eea;
}

.detail-row span:last-child { 
    font-weight: 600; 
    color: #444; 
}

.btn-edit { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
    padding: 10px 20px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    border: none; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transition: transform 0.2s; 
    margin-top: 10px; 
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-edit:hover { 
    transform: translateY(-2px); 
}

.btn-edit i {
    font-size: 14px;
}

.modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    backdrop-filter: blur(3px); 
}

.modal-overlay.open { 
    display: flex; 
}

.modal-box { 
    background: white; 
    width: 90%; 
    max-width: 500px; 
    border-radius: 12px; 
    padding: 25px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); 
    animation: popIn 0.3s ease; 
    max-height: 90vh; 
    overflow-y: auto; 
}

@keyframes popIn { 
    from { 
        transform: scale(0.9); 
        opacity: 0; 
    } 
    to { 
        transform: scale(1); 
        opacity: 1; 
    } 
}

.modal-header { 
    font-size: 20px; 
    font-weight: bold; 
    margin-bottom: 15px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px; 
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header i {
    color: #667eea;
}

.form-group { 
    margin-bottom: 15px; 
}

.form-group label { 
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    margin-bottom: 5px; 
    color: #555; 
}

.form-group label i {
    margin-right: 5px;
    font-size: 12px;
}

.form-input { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    box-sizing: border-box; 
    font-size: 14px; 
}

.form-input:focus { 
    border-color: #667eea; 
    outline: none; 
}

.form-textarea { 
    font-family: monospace; 
    resize: vertical; 
    min-height: 150px; 
}

.file-upload-wrapper { 
    border: 2px dashed #ddd; 
    padding: 15px; 
    border-radius: 6px; 
    text-align: center; 
    background: #fafafa; 
    position: relative; 
}

.file-upload-wrapper:hover { 
    border-color: #667eea; 
    background: #f0f6fc; 
}

.file-upload-wrapper i {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 8px;
    display: block;
}

.file-upload-input { 
    position: absolute; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    cursor: pointer; 
}

.file-name-display { 
    font-size: 12px; 
    color: #667eea; 
    margin-top: 5px; 
    font-weight: bold; 
}

.modal-footer { 
    display: flex; 
    justify-content: flex-end; 
    gap: 10px; 
    margin-top: 20px; 
}

.btn-cancel { 
    background: #eee; 
    color: #555; 
    padding: 8px 16px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-save { 
    background: #667eea; 
    color: white; 
    padding: 8px 16px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-cancel:hover, .btn-save:hover {
    opacity: 0.9;
}

.success-msg { 
    display: none; 
    color: #2ed573; 
    font-size: 12px; 
    margin-top: 5px; 
    font-weight: bold; 
}

.success-msg i {
    margin-right: 5px;
}