/* Estilos generales */
body {
    margin-bottom: 60px;
    background-image: url('../img/bckgrd.png');
    background-size: cover; /* ¡Esta es la clave para la adaptabilidad! */
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.view-background-effect {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 8px; 
}

/* Asegura que el fondo del modal no sea completamente negro */
.modal-backdrop {
    /*
    background-color: rgba(0, 0, 0, 0.3) !important; 
    */
    background-color: transparent !important;
    backdrop-filter: blur(1px);
}



.main-wrapper{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main{
    flex: 1;
}
/* T�tulos */
/* Estilos para la clase .Title */
.Title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.5em;
    background: radial-gradient( at center, rgba(131, 145, 146, 0.5) 0.5%, rgba(255, 255, 255, 0) 70%);
    padding: 5px 10px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 2px 3px #777;
}

/* Estilos para la clase .SubTitle */
.SubTitle {
    color: #777;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 500;
    background: radial-gradient( at center, rgba(144, 148, 151, 0.5) 0.5%, rgba(255, 255, 255, 0) 70%); 
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-shadow: 1px 2px 3px #777;
}

@media (max-width: 768px) {
    .Title {
        font-size: 2em;
    }

    .SubTitle {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .Title {
        font-size: 1.8em;
    }

    .SubTitle {
        font-size: 0.9em;
    }
}

/* Botones */
.btn {
    display: inline-block;
    padding: 9px 18px;
    font-size: 0.75em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #2980b9;
    }

.btn-secondary {
    background-color: #ecf0f1;
    color: #333;
    border-color: #bdc3c7;
}

    .btn-secondary:hover {
        background-color: #d3d3d3;
        border-color: #95a5a6;
    }

.btn-success {
    background-color: #2ecc71;
    color: #fff;
}

    .btn-success:hover {
        background-color: #27ae60;
    }

.btn-danger {
    background-color: #e74c3c;
    color: #fff;
}

    .btn-danger:hover {
        background-color: #c0392b;
    }
.btn-warning {
    background-color: #f39c12;
    color: #fff;
}
    .btn-warning:hover {
        background-color: #e67e22;
    }
.btn-info {
    background-color: #3498db;
    color: #fff;
}
    .btn-info:hover {
        background-color: #2980b9;
    }


/* Formularios */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        color: #555;
        font-weight: bold;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1em;
        box-sizing: border-box;
    }

        .form-group input[type="text"]:focus,
        .form-group input[type="email"]:focus,
        .form-group input[type="password"]:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
        }

    .form-group .error {
        color: #e74c3c;
        font-size: 0.9em;
        margin-top: 5px;
    }

/* Tablas */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .table th,
    .table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }

    .table th {
        background-color: #f8f8f8;
        font-weight: bold;
        color: #333;
    }

    .table tbody tr:nth-child(even) {
        background-color: #fcfcfc;
    }

    .table tbody tr:hover {
        background-color: #eee;
    }

/* Tarjetas o paneles */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background-color: #f8f8f8;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: #333;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    text-align: right;
    font-size: 0.9em;
    color: #777;
}

/* Listas */
ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Enlaces */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: #2980b9;
        text-decoration: underline;
    }

/* Texto destacado */
.highlight {
    background-color: #f9e79f;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* Espaciado */
.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.ml-1 {
    margin-left: 5px;
}

.mr-1 {
    margin-right: 5px;
}

.p-1 {
    padding: 5px;
}

.p-2 {
    padding: 10px;
}

.p-3 {
    padding: 15px;
}

/* Layout flexible (�til para alinear elementos) */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

/* 1. Principal */
.btn-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #4fc3f7, #81c784); /* azul a verde */
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .btn-primary-action:hover {
        background: linear-gradient(135deg, #29b6f6, #66bb6a);
        transform: translateY(-1px);
    }

/* 2. L�nea (acciones por fila) */
.btn-inline-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 6px 12px;
}

    .btn-inline-action:hover {
        background-color: #e0e0e0;
    }

/* 3. Destacado (acci�n especial) */
.btn-featured-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ff8a65, #ff5252); /* naranja-rojo vibrante */
    color: white;
    box-shadow: 0 0 12px rgba(255, 82, 82, 0.5);
}

    .btn-featured-action:hover {
        background: linear-gradient(135deg, #ff7043, #ff1744);
        transform: scale(1.03);
    }

/* Migas de pan */
.breadcrumb-item + .breadcrumb-item::before {
    content: none !important;
}

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 15px;
    list-style: none;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #555;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

    .breadcrumb-item a {
        color: #3498db;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .breadcrumb-item a:hover {
            text-decoration: underline;
            color: #2980b9;
        }

    .breadcrumb-item:not(:last-child)::after {
        content: ""; 
        width: 16px;
        height: 16px;
        margin: 0 8px;
        background-image: url('../Img/VerticalBar.png'); 
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .breadcrumb-item.active {
        color: #777;
    }

        .breadcrumb-item.active a {
            pointer-events: none;
            color: #777;
        }

.icon-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4fc3f7, #81c784);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.4rem;
    color: white;
    border: none;
    text-decoration: none;
}

    .icon-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    }

    .icon-button i {
        pointer-events: none;
    }

    .icon-button.apple {
        background: linear-gradient(135deg, #000000, #434343);
    }

    .icon-button.android {
        background: linear-gradient(135deg, #43a047, #66bb6a);
    }

.button-label {
    font-size: 15px;
    color: #333;
    line-height: 1.1;
    padding:0
}

/* Menu Card Styles */
.menu-card {
    perspective: 1000px;
}

.menu-card-inner {
    position: relative;
    width: 100%;
    height: 250px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.menu-card:hover .menu-card-inner {
    transform: rotateY(180deg);
}

.menu-card-front, .menu-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-card-front {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

    .menu-card-front img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 1rem;
    }

.menu-card-back {
    background-color: #007bff;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .menu-card-back a {
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
        text-decoration: none;
    }


