/* Base cards */
.album-card,
.image-card {
    height: 100%;
    padding-bottom: 30px;
    transition: transform 0.2s ease;
    position: relative;
}

.card-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.album-card:hover,
.image-card:hover {
    transform: translateY(-2px);
}

/* Images */
.cover-image,
.image-thumbnail {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background-color: #f5f5f5;
}

/* Gradients */
.has-gradient {
    background: linear-gradient(135deg, #00d1b2 0%, #209cee 100%);
    border: none;
}

/* Cards */
.card {
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(10, 10, 10, 0.1);
}

/* Dark theme root */
[data-theme="dark"] {
    background-color: #0a0a0a;
    color: #f5f5f5;
}

/* Dark theme components */
[data-theme="dark"] .album-card,
[data-theme="dark"] .image-card,
[data-theme="dark"] .card,
[data-theme="dark"] .footer,
[data-theme="dark"] .table {
    background-color: #1f1f1f;
    color: #f5f5f5;
}

/* Dark theme text override inside album-card where Bulma may set dark text */
[data-theme="dark"] .album-card .has-text-dark {
    color: #f5f5f5 !important;
}

/* Dark theme inputs */
[data-theme="dark"] .input,
[data-theme="dark"] .textarea,
[data-theme="dark"] .select select {
    background-color: #2f2f2f;
    color: #f5f5f5;
    border-color: #4a4a4a;
}

/* Dark theme table borders */
[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
    border-color: #4a4a4a;
}

/* Dark theme gradients */
[data-theme="dark"] .has-gradient,
[data-theme="dark"] .navbar.is-primary {
    background: linear-gradient(135deg, #00947e 0%, #1976d2 100%);
}

/* Dark theme specific surfaces */
[data-theme="dark"] .main-image {
    background-color: #2f2f2f;
}
