@tailwind base;
@tailwind components;
@tailwind utilities;

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
}

textarea.expandable-textarea {
    width: 100%;
    resize: vertical;
    overflow-wrap: break-word;
}

.result-container {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.table-container {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    background-color: #444;
    overflow-x: auto;
}

.table-title {
    margin-bottom: 10px;
    color: #ff7043;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid #555;
}

.table th {
    background-color: #555;
    color: #fff;
}

.table td {
    color: #e0e0e0;
    text-align: left;
}

.table td.data-key {
    width: 20%; 
}

.table td.data-value {
    width: 80%; 
}

.table img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

table.table {
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

table.table th, table.table td {
    padding: 4px 8px;
    margin: 0;
}

table.table th {
    font-weight: bold;
}

table.table td img {
    max-width: 100px;
    border-radius: 10px;
}

.array-container {
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    background-color: #495057; 
    margin-bottom: 20px;
    width: 50%;
}

.array-container label {
    font-weight: bold;
    color: #f8f9fa; 
}

.array-container .form-control {
    margin-bottom: 10px;
    background-color: #343a40;
    color: #f8f9fa; 
    border: 1px solid #ccc;
}

.form-group .form-control {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.form-group label {
    font-weight: bold;
    color: #f8f9fa; 
}

.object-item {
    border: 1px solid #6c757d; 
    padding: 10px; 
    margin-bottom: 10px;
    border-radius: 5px; 
    background-color: #495057;
}

.form-group .text-muted{
    color: whitesmoke!important;
    font-style: italic;
}

.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

.pagination-info {
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
}

.pagination-buttons form, .pagination-buttons button {
    margin: 0 5px;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-pag {
    min-width: 120px; 
    text-align: center;
}

.tooltip-inner {
    max-width: 350px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .table img {
        max-width: 100%;
    }
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5)
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
    cursor: pointer;
    border: none;
    padding: 2px 5px;
    border-radius: 5px;
}
