/* Additional styles for Crop Verification UI */

body {
    background-color: #f8f9fa;
}

.main-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.drop-zone {
    border: 3px dashed #dee2e6;
    border-radius: 12px;
    padding: 3rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #0d6efd;
    background: #f0f4ff;
}

.preview-container {
    position: relative;
    display: inline-block;
    margin: 1.5rem auto;
}

.image-preview {
    max-width: 100%;
    max-height: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #dee2e6;
}

.clear-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.clear-overlay:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.btn-predict {
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Result Styling */
.verified {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1.5rem;
}

.rejected {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1.5rem;
}

.error {
    color: #dc3545;
}

/* Modal Loading Animation */
.modal-loading-spinner {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 0.35rem;
}