/* ═══════════════════════════════════════════════════════════════
   IMAGE DETAIL PAGE - Terminal Theme
   ═══════════════════════════════════════════════════════════════ */

/* Container uses .container-md utility */

/* ═══════════════════════════════════════════════════════════════
   IMAGE DISPLAY
   ═══════════════════════════════════════════════════════════════ */

.image-display {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border: 2px solid rgba(0, 255, 65, 0.3);
    margin-bottom: 2rem;
    border-radius: 4px;
}

.image-link-full {
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-link-full:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.image-display img {
    max-width: 100%;
    height: auto;
    border: 2px solid rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    transition: all 0.3s ease;
}

.image-link-full:hover img {
    border-color: var(--phosphor-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   SHARE LINKS SECTION
   ═══════════════════════════════════════════════════════════════ */

.share-section {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.share-section .section-header {
    margin-bottom: 1.5rem;
}

.share-item {
    margin-bottom: 1.25rem;
}

.share-item:last-child {
    margin-bottom: 0;
}

.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-family: "Courier New", Courier, monospace;
    color: var(--phosphor-green);
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 100px;
    margin-bottom: 0;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.2);
}

.share-input {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    flex: 1;
    cursor: pointer;
}

.share-input:focus {
    cursor: text;
}

.copy-btn {
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE METADATA
   ═══════════════════════════════════════════════════════════════ */

.image-metadata {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.metadata-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.metadata-header .section-header {
    margin-bottom: 0;
}

.metadata-header .float-end {
    display: flex;
    gap: 0.5rem;
}

.metadata-row {
    display: flex;
    padding: 0.75rem 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(0, 255, 65, 0.15);
}

.metadata-row:last-child {
    border-bottom: none;
}

.metadata-label {
    color: var(--phosphor-green);
    font-weight: bold;
    min-width: 140px;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.metadata-value {
    color: rgba(0, 255, 65, 0.8);
    flex: 1;
    word-break: break-word;
}

.metadata-edit-row {
    margin-bottom: 1rem;
}

.metadata-edit-row .metadata-label {
    display: block;
    margin-bottom: 0.5rem;
}

.metadata-edit-row input,
.metadata-edit-row textarea {
    width: 100%;
}

.edit-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   ALBUMS SECTION
   ═══════════════════════════════════════════════════════════════ */

.albums-section {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.albums-section .section-header {
    margin-bottom: 1rem;
}

/* Modern list-style album display */
.albums-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.album-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 2px;
    color: var(--phosphor-green);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-mono);
}

.album-list-item:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: rgba(0, 255, 65, 0.5);
    transform: translateX(4px);
    text-decoration: none;
}

.album-item-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.album-item-icon {
    font-size: 1.25rem;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.8;
}

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

.album-item-title {
    color: var(--phosphor-green);
    font-weight: bold;
    font-size: 1.05 rem;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.album-item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(0, 255, 65, 0.7);
}

.album-item-count {
    color: rgba(0, 255, 65, 0.8);
}

.meta-separator {
    color: rgba(0, 255, 65, 0.4);
}

.album-item-badge {
    padding: 0.125rem 0.375rem;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
}

.badge-public {
    background: rgba(0, 255, 65, 0.15);
    color: var(--phosphor-green);
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.badge-private {
    background: rgba(255, 165, 0, 0.15);
    color: #ffb347;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.album-item-arrow {
    color: rgba(0, 255, 65, 0.5);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.album-list-item:hover .album-item-arrow {
    color: var(--phosphor-green);
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE ACTIONS
   ═══════════════════════════════════════════════════════════════ */

.image-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .share-row {
        flex-wrap: wrap;
    }

    .share-label {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }

    .metadata-row {
        flex-direction: column;
    }

    .metadata-label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }

    .image-actions {
        flex-direction: column;
    }

    .image-actions .btn {
        width: 100%;
    }

    .album-item-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .album-item-icon {
        display: none;
    }
}