/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Cropper.js CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.6.2/cropper.min.css');

.audio-visualizer {
    width: 100%;
    height: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

/* Cropper Overlay Styles */
.cropper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.cropper-overlay.hidden {
    display: none;
}

.cropper-container-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.cropper-overlay img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.cropper-buttons {
    display: flex;
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.cropper-buttons button {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cropper-crop-btn {
    background-color: #3b82f6;
    color: white;
}

.cropper-crop-btn:hover {
    background-color: #2563eb;
}

.cropper-cancel-btn {
    background-color: #6b7280;
    color: white;
}

.cropper-cancel-btn:hover {
    background-color: #4b5563;
}
