﻿@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto/roboto-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Spațiu între butoane */
    align-items: stretch; /* Asigură că butoanele au aceeași lățime */
}

    .button-container .btn {
        width: 100%; /* Face ca butoanele să ocupe toată lățimea containerului */
        text-align: center; /* Asigură că textul este centrat */
        margin-bottom: 5px; /* Adaugă un mic spațiu între butoane, dacă este necesar */
    }

.table td {
    vertical-align: middle; /* Asigură că butoanele sunt aliniate vertical în mijlocul celulei */
}

.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.ui-menu-item {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    list-style-type: none;
}

.ui-menu-item:hover {
    background-color: #f0f0f0;
}

.ui-helper-hidden-accessible {
    display: none;
}

.custom-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.custom-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .custom-toggle-label:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        border-radius: 50%;
        transition: transform 0.2s ease;
    }

.custom-toggle-input:checked + .custom-toggle-label {
    background-color: #28a745;
}

    .custom-toggle-input:checked + .custom-toggle-label:before {
        transform: translateX(26px);
    }

.custom-toggle-container {
    display: flex;
    align-items: center;
}

.custom-toggle-text {
    margin-left: 10px;
}

#user-results {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

    #user-results .list-group-item {
        cursor: pointer;
    }
