/* Custom CSS for JSON Formatter */

/* Set height for JSON editors */
.json-editor {
    height: 500px;
    width: 100%;
}

/* Add some spacing and styling to the container */
.json-editor-container {
    margin-bottom: 3rem;
}

/* Style the cards */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    padding: 0.75rem 1.25rem;
}

/* Style the buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-group-vertical {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .btn-group-vertical {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        margin: 1rem 0;
    }

    .btn-group-vertical .btn {
        margin: 0.25rem;
        width: auto;
    }

    .json-editor {
        height: 350px;
    }
}

/* Custom scrollbar for editors */
.jsoneditor-outer {
    border-radius: 0 0 8px 8px;
}

/* Override some JSONEditor styles for better integration */
div.jsoneditor {
    border: none;
    border-radius: 0 0 8px 8px;
}

div.jsoneditor-menu {
    background-color: #f8f9fa;
    border: none;
    border-bottom: 1px solid #e9ecef;
}

/* Add animation for better UX */
.card, .btn {
    animation: fadeIn 0.5s ease-in-out;
}

/*==============================inputsd file*/
file-upload-label {
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.file-upload-label input[type="file"] {
    display: none !important;
}

.file-upload-label {
    cursor: pointer;
    padding: 10px;
}

.file-upload-label i {
    font-size: 1.5rem;
    color: lightyellow;
}






@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
