/* Mint & Sky Green Theme with PC File Explorer Navigation */

body {
    background: linear-gradient(to bottom, #7cc9e3, #a8e6cf);
    background-attachment: fixed;
    color: #3b5343;
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 20px;
    animation: fadeInPage 0.8s ease-in-out;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#wrapper {
    width: 860px;
    margin: 0 auto;
    background-color: #f7fcfa;
    border: 4px solid #7cc9a0;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* Header Styling */
header {
    background-color: #ffffff;
    border: 2px solid #7cc9a0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.rainbow-bar {
    height: 25px;
    background: linear-gradient(to right, #ff9999, #ffcc99, #ffff99, #99ff99, #99ffff, #cc99ff, #ff99ff);
    border-bottom: 2px solid #7cc9a0;
}

.header-content {
    text-align: center;
    padding: 10px;
    position: relative;
}

.header-heart {
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 24px;
}

header h1 {
    color: #4a7c59;
    font-size: 22px;
    margin: 0;
    letter-spacing: 1px;
}

.sakura-row {
    font-size: 14px;
    margin-top: 5px;
}

/* Main Layout Table */
#main-layout-table {
    width: 100%;
    border-collapse: collapse;
}

.sidebar-col {
    width: 230px;
    padding-right: 10px;
}

.content-col {
    width: 600px;
}

/* Box Panels matching main site containers */
.box {
    background-color: #ffffff;
    border: 2px solid #7cc9a0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
}

.box h3, .box h2 {
    background-color: #a3e4bc;
    color: #2f4f38;
    margin: -10px -10px 10px -10px;
    padding: 8px 10px;
    font-size: 13px;
    border-bottom: 2px solid #7cc9a0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    letter-spacing: 0.5px;
}

/* PC File Explorer Tree Styles */
.explorer-tree {
    background-color: #f7fcfa;
    border: 1px inset #7cc9a0;
    padding: 8px;
    font-size: 11px;
    border-radius: 4px;
}

.tree-root {
    font-weight: bold;
    color: #2f4f38;
    margin-bottom: 5px;
}

.tree-list, .sub-tree {
    list-style-type: none;
    padding-left: 15px;
    margin: 3px 0;
}

.tree-list li {
    margin: 4px 0;
}

.tree-list a {
    color: #4a7c59;
    text-decoration: none;
    font-weight: bold;
}

.tree-list a:hover {
    text-decoration: underline;
    color: #ff6b8b;
}

/* Folder Explorer Buttons */
.folder-link {
    background: transparent;
    border: none;
    color: #4a7c59;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    padding: 2px 4px;
    width: 100%;
    border-radius: 3px;
}

.folder-link:hover, .folder-link.active {
    background-color: #a3e4bc;
    color: #2f4f38;
}

/* Explorer Window / Address Bar */
.explorer-window {
    background-color: #fafdfc;
}

.address-bar {
    display: flex;
    align-items: center;
    background-color: #f0f8f4;
    border: 1px solid #7cc9a0;
    padding: 4px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 11px;
}

.addr-label {
    font-weight: bold;
    margin-right: 6px;
    color: #4a7c59;
}

#address-input {
    flex-grow: 1;
    background-color: #ffffff;
    border: 1px inset #7cc9a0;
    color: #3b5343;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    padding: 2px 4px;
}

.window-header-bar {
    display: flex;
    justify-content: space-between;
    background-color: #e8f5ec;
    border-bottom: 1px solid #7cc9a0;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    color: #4a7c59;
    margin-bottom: 10px;
}

/* Photo Wall Grid & Fade Effect */
.photo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.photo-wall.fade-out {
    opacity: 0;
}

.photo-card {
    background-color: #f7fcfa;
    border: 1px solid #7cc9a0;
    border-radius: 6px;
    padding: 6px;
    width: 165px;
    text-align: center;
}

.photo-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid #b2dfdb;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.photo-card img:hover {
    transform: scale(1.03);
}

.photo-card p {
    font-size: 10px;
    margin: 5px 0 0 0;
    color: #4a7c59;
    font-weight: bold;
}

/* Fullscreen Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-modal img {
    max-width: 85%;
    max-height: 80vh;
    border: 4px solid #7cc9a0;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 5px;
}

.lightbox-caption {
    color: #ffffff;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    margin-top: 10px;
    background-color: rgba(74, 124, 89, 0.9);
    padding: 5px 12px;
    border-radius: 4px;
}

/* Footer */
footer {
    text-align: center;
    font-size: 11px;
    color: #557a64;
    background-color: #ffffff;
    border: 2px solid #7cc9a0;
    border-radius: 8px;
    padding: 8px;
    margin-top: 5px;
}