.dropzone {
    border: 2px dashed #a1a1aa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background 0.2s;
    font-weight: 500;
}
.dropzone.dragover {
    background: #e4e4e7;
    border-color: var(--primary-color);
}
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.tabs button {
    padding: 0.5rem 1rem;
    border: none;
    background: #e4e4e7;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.tabs button.active {
    background: var(--primary-color);
    color: white;
}
.input-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.input-group label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #3f3f46;
}
.input-group input {
    padding: 0.6rem;
    border: 1px solid #d4d4d8;
    border-radius: 4px;
    font-size: 1rem;
}
#save-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    margin-top: 1rem;
    transition: background 0.3s;
}
#save-btn:hover {
    background: #c0392b;
}
#editor-section {
    display: none;
}

/* Drop Overlay */
#drop-overlay {
    background: rgba(0,0,0,0.7);
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#drop-overlay.show {
    display: flex;
}

.drop-overlay-content {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
}

.drop-overlay-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Cover Dropzone */
.thumbnail-dropzone {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    border: 2px dashed #d4d4d8;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.thumbnail-dropzone.dragover {
    border-color: var(--primary-color);
    background: #fdecea;
}

.thumbnail-dropzone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drop-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.thumbnail-dropzone:hover .drop-hint,
.thumbnail-dropzone.dragover .drop-hint {
    opacity: 1;
}

#cover-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Controlled by JS */
    border: none;
    margin: 0;
}
