/* src/styles/ImportShow.css */

.import-show-container {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9fafb;
}

.intro-section {
    margin-bottom: 20px;
    color: #374151;
}

.intro-section p {
    line-height: 1.6;
}

.intro-section ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.intro-section li {
    margin-bottom: 5px;
}

.tutorial-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    color: #2563eb;
}

.tutorial-link:hover {
    color: #1d4ed8;
}

.upload-section {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.upload-button {
    margin-left: 15px;
    padding: 10px 20px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-button:hover {
    background-color: #1d4ed8;
}

.file-requirements {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

.upload-info {
    margin-top: 15px;
    font-size: 14px;
    color: #374151;
}

.all-drones-plot img {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.other-plots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.other-plots div {
    flex: 1 1 300px;
    margin: 10px;
}

.other-plots img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.response-message.success {
    color: #22c55e;
    font-weight: bold;
}

.response-message.failure {
    color: #ef4444;
    font-weight: bold;
}

.drop-zone {
    border: 2px dashed #6b7280;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    background-color: #f3f4f6;
    transition: border-color 0.3s, background-color 0.3s;
}

.drop-zone.dragging {
    border-color: #2563eb;
    background-color: #e0f2fe;
}

.warning-message {
    color: #b91c1c;
    background-color: #fee2e2;
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.soft-warning-message {
    color: #92400e;
    background-color: #ffedd5;
    padding: 12px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .other-plots div {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .upload-section {
        flex-direction: column;
        align-items: stretch;
    }
    .upload-button {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
    .other-plots div {
        flex: 1 1 100%;
    }
}

.progress-bar {
    margin-top: 10px;
}

.progress-bar p {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9rem;
}


/* src/styles/ImportShow.css */

.drop-zone {
    border: 2px dashed #6b7280;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    background-color: #f3f4f6;
    transition: border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}

.drop-zone p {
    margin: 0;
    font-size: 1rem;
    color: #374151;
}

.drop-zone.dragging {
    border-color: #2563eb;
    background-color: #e0f2fe;
}

.progress-bar {
    margin-top: 10px;
}

.progress-bar p {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9rem;
}

.show-duration-section {
    margin: 20px 0;
    background-color: #f0f9ff;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    padding: 15px;
}

.show-duration-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.duration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0f2fe;
    border-radius: 50%;
    padding: 12px;
}

.duration-details {
    flex-grow: 1;
}

.duration-details h3 {
    color: #1e40af;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.duration-info {
    display: flex;
    flex-direction: column;
}

.duration-value {
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
}

.duration-precise {
    color: #6b7280;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .show-duration-content {
        flex-direction: column;
        text-align: center;
    }
    .duration-icon {
        margin-bottom: 10px;
    }
}