/* public/css/styles.css */
.radio-buttons label {
    margin-right: 10px;
}
.radio-buttons span {
    padding-left: 5px;
}
.model-types {
    cursor: pointer;
}

.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.custom-modal.active {
    display: block;
}
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modal-container {
    background: white;
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.modal-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h5 {
    margin: 0;
    font-size: 1.5em;
}

.modal-header::before {
    display: none;
}
.modal-header::after {
    display: none;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px 10px;
}
.modal-body {
    padding: 20px;
    position: relative;
    min-height: 300px;
}
.modal-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: right;
}

/* Стили для карусели */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-inner {
    display: flex;
    transition: transform 0.3s ease;
}
.carousel-item {
    flex: 0 0 100%;
    text-align: center;
    display: none;
}
.carousel-item.active {
    display: block;
}
.carousel-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
}
.carousel-prev {
    left: 10px;
}
.carousel-next {
    right: 10px;
}
.form-group {
    margin-bottom: 10px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

a.view-photos {
    margin: 0 10px;
}
.view-photos.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.loaded-status {
    margin-left: 10px;
    color: black;
}

.disabled {
    background-color: #ddd;
}

.hideHover:hover {
    text-decoration: none;
}

.navbar-right {
    display: flex;
    align-items: center;
}

#swithcerApps {
    border-radius: 5px;
}
