/* /public/css/clipboard.css */

* {
    box-sizing: border-box;
}

.admin-container {
    padding: 2rem 1rem;
    padding-top: 0;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 100vh;
}

.section {
    background: #1e293b;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 1rem;
    position: relative;
    word-wrap: break-word;
    color: #e2e8f0;
    padding-right: 7.5rem; /* Space for three buttons */
}

.message-text {
    white-space: pre-wrap;
    display: block;
    line-height: 1.6;
}

.item-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .admin-container h1 { font-size: 1.5rem; }
    .manage-header { flex-direction: column; gap: 1rem; }
    .message-item { padding-right: 1rem; padding-top: 3rem; }
    .item-actions { top: 0.75rem; right: 0.75rem; }
    .section {
        padding: 1.25rem;
    }
}

/* Modal Customizations */
#contentModal .modal-content {
    max-width: 800px;
}

#paste {
    min-height: 300px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    resize: vertical;
}
