﻿.desc {
    white-space: pre-line;
    margin: 0;
    line-height: 1.5;
}

.ios-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
}

.ios-box {
    width: 280px;
    background: rgba(255,255,255,0.95);
    border-radius: 14px;
    text-align: center;
    padding: 20px 15px 10px 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: iosPop 0.25s ease;
}

@keyframes iosPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ios-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 8px;
    color: #000;
}

.ios-message {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.ios-actions {
    border-top: 1px solid #eee;
}

    .ios-actions button {
        width: 100%;
        padding: 12px 0;
        background: none;
        border: none;
        font-size: 16px;
        color: #007AFF;
        font-weight: 500;
        cursor: pointer;
    }


.glass-card {
    width: 100%;
    /*margin: 5px 16px;*/
    padding: 15px 20px;
    border-radius: 7px;
    /* GLASS */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    /* BORDURE iOS */
    border: 1px solid rgba(255, 255, 255, 0.35);
    /* OMBRE */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #1a1a1a;
}

    /* Prix */
    .glass-card .price {
        font-size: 22px;
        font-weight: 700;
    }

    /* Conversion */
    .glass-card .price-sub {
        font-size: 12px;
        font-weight: 500;
        opacity: 0.7;
    }

    /* Description */
    .glass-card .desc {
        font-size: 14px;
        margin-top: 5px;
    }

.notifications-body {
    height: 100vh;
    overflow: hidden;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh; 
    overflow: auto;
    z-index: 9999;
}

.sms-notification {
    max-height: calc(100vh - 50px);
    position: fixed;
    top: 50%;
    left: 50%;
    width: 380px;
    padding: 1.5rem;
    display: flex;
    gap: 15px;
    flex-direction: row;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 36px rgba(31, 38, 135, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999;
    transform: translate(-50%, -50%);
    overflow: hidden;
    animation: fadeInMsg 0.8s ease-out;
}
.sms-photo-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.sms-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

    .sms-photo img:first-child {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.flag-icon {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background-color: white;
}

.sms-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sms-content .sms-header {
    font-weight: bold;
    font-size: 1.2rem;
}

.sms-date {
    font-size: 0.8rem;
    color: #242525;
}

.sms-text {
    flex: 1;
    overflow-y: auto;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    color: #000;
    scrollbar-width: none;
}

    .sms-text::-webkit-scrollbar {
        display: none;
    }

@keyframes fadeOutMsg {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -70%);
    }
}

@keyframes fadeInMsg {
    from {
        opacity: 0;
        transform: translate(-50%, -70%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}



.new-message-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

    .new-message-banner.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .new-message-banner img {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }

#message-icon-badge {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    z-index: 10000;
}

    #message-icon-badge img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    #message-icon-badge .badge-count {
        position: absolute;
        top: -6px;
        right: -6px;
        background-color: red;
        color: white;
        font-size: 12px;
        font-weight: bold;
        padding: 2px 6px;
        border-radius: 12px;
        min-width: 20px;
        text-align: center;
        box-shadow: 0 0 0 2px white;
    }

#message-icon-wrapper {
    position: fixed;
    top: 40px;
    left: 50px;
    width: 70px;
    height: 70px;
    z-index: 10000;
}

.message-icon-img {
    width: 110%;
    height: 110%;
    border-radius: 10px;
}

.message-badge {
    position: absolute;
    top: -11px;
    right: -21px;
    min-width: 35px;
    height: 35px;
    padding: 0 5px;
    background-color: red;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 999px;
    text-align: center;
    line-height: 35px;
    box-shadow: 0 0 0 2px white;
}

.box-logo-video {
    position: fixed;
    bottom: 1%;
    right: 1%;
    z-index: 10000;
}

.logo-mde-video {
    width: 22rem;
    border-radius: 5px;
}

.guest-notification {
    position: fixed;
    top: 50%;
    right: 1%;
    transform: translateY(-50%);
    width: 380px;
    max-width: 600px;
    min-width: 400px;
    max-height: calc(100vh - 50px);
    padding: 1.5rem;
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 36px rgba(31, 38, 135, 0.3);
    z-index: 9999;
    overflow: hidden;
    animation: fadeInGuest 0.8s ease-out;
}

.guest-photo-line {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem; 
    margin-bottom: 1rem;
}

.guest-photo-wrapper {
    position: relative;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guest-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    object-fit: cover;
}

.guest-flag-icon {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background-color: white;
}

#guest-arrival-icon-wrapper {
    position: fixed;
    top: 140px;
    left: 50px;
    width: 70px;
    height: 70px;
    z-index: 10000;
}

.guest-content {
    font-family: Cambria, 'Times New Roman';
    text-align: center;
}

.guest-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.guest-table {
    font-size: 20px;
    font-weight: bold;
}

.guest-table-name {
    font-size: 16px;
    opacity: 0.8;
}

@keyframes fadeInGuest {
    from {
        opacity: 0;
        transform: translateY(-70%);
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@keyframes fadeOutGuest {
    from {
        opacity: 1;
        transform: translateY(-50%);
    }

    to {
        opacity: 0;
        transform: translateY(-70%);
    }
}

.guest-bloc-arrival-flag-icon-wrapper {
    width: 70px;
    margin: 5px;
    display: inline-block;
    vertical-align: top;
}

.guest-arrival-flag-icon-wrapper {
    width: 70px;
    height: 70px;
    position: relative;
}

.flags-container {
    position: fixed;
    top: 40px;
    right: 2%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 400px; 
    z-index: 10000;
}

.flags-badge {
    position: absolute;
    top: 35px;
    left: 51px;
    min-width: 35px;
    height: 35px;
    padding: 0 5px;
    background-color: red;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 999px;
    text-align: center;
    line-height: 35px;
    box-shadow: 0 0 0 2px white;
}

.transfert-done-row {
    background-color: #e6ffe6 !important;
    transition: background-color 0.3s ease;
    color: darkgreen;
    font-weight:bold;
}

.resa-input {
    font-size: 20px;
}

    .resa-input::placeholder {
        font-size: 17px;
    }
