* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: black;
    min-height: 100vh;
}

.dreams-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0;
    margin: 0;
    background: #000;
    width: 100vw;
}

.dream-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
    background: black;
    overflow: hidden;
    max-height: 20vw;
    aspect-ratio: 1;
}

.dream-card:hover {
    transform: scale(1.02);
    z-index: 1;
}

.dream-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dream-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.9em;
    transform: translateY(100%);
    transition: transform 0.2s;
}

.dream-card:hover .dream-info {
    transform: translateY(0);
}

.dream-date {
    font-size: 0.8em;
    opacity: 0.8;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: black;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: white;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.modal-close:hover {
    color: #ccc;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h3 {
    margin-bottom: 10px;
    color: #fff;
}

.modal-section p {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    padding: 15px;
    background: #111;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.modal-actions a,
.modal-actions button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.modal-actions a {
    background-color: #4a90e2;
    color: white;
}

.modal-actions a:hover {
    background-color: #357abd;
}

.delete-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.delete-button:hover {
    background-color: #c0392b;
}

.delete-button i {
    font-size: 1rem;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 0.8em;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-completed {
    background: #28a745;
}

.status-pending {
    background: #ffc107;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 24px 0 24px 0;
}

.logo-img {
    max-height: 200px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .logo-img {
        max-width: 90vw;
        height: auto;
    }
} 