.theUser {
    margin: 30px 15px 30px;
    color: #D82B2B;
    font-size: clamp(18px, 5vw, 32px);
    font-weight: lighter;

}

.theUser2 {
    margin: 30px 15px 30px;
    color: #D82B2B;
    font-size: clamp(18px, 5vw, 32px);
    font-weight: lighter;

}

.theUser3 {
    margin: 30px 15px 30px;
    color: #D82B2B;
    font-size: clamp(18px, 5vw, 32px);
    font-weight: lighter;

}

/*.za_flex {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    width: 225px;*/
/*    cursor: pointer;*/
/*}*/

/*.za_flex2 {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    width: 370px;*/
/*    cursor: pointer;*/
/*}*/

/*.za_flex3 {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    width: 420px;*/
/*    cursor: pointer;*/
/*}*/

.za_flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: 100%; /* Сега се адаптира на родителот */
    max-width: 420px; /* Максимална големина за desktop */
    cursor: pointer;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
}


.arrow-icon {
    font-size: 18px;
    color: #D82B2B; /* Темноцрвена или каква ти е темата */
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.za_flex:hover .arrow-icon {
    transform: translateX(5px);
}


.separated {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.separatedText {
    color: #D82B2B;
    font-size: large;
    margin: 10px 0px;
    white-space: nowrap;
}

.separatedInput {
    font-weight: bolder;
    background-color: #D82B2B;
    border: none;
    width: 100%;
    max-width: 400px;
    min-width: 200px;
    border-radius: 100px;
    padding: 10px 20px;
    color: white;
    font-size: large;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px 0px;
    height: 40px;
}

.reOrder {
    color: white;
    background: #0D1B2A;
    font-size: large;
    border-radius: 100px;
    border: 0px;
    margin-top: 10px;
    font-family: 'Rubik Dirt', sans-serif;
    font-weight: lighter;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.reOrder:hover {
    background: linear-gradient(45deg, #0D1B2A, #8A001E);
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.divButton {
    display: flex;
    justify-content: center;
}

.saveButton {
    color: white;
    background-color: red;
    background-image: linear-gradient(45deg, #ff4d4d, #ff1a1a);
    font-size: large;
    border-radius: 100px;
    border: 0px;
    width: 100px;
    margin-top: 10px;
    font-family: 'Rubik Dirt', sans-serif;
    font-weight: lighter;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /*transition: transform 0.3s ease, background-color 0.3s ease;*/
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.saveButton:hover {
    background-color: #ff6666;
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.separatedInput::placeholder {
    color: white;
    font-size: large;
    font-weight: bold;
}

/*.navigation-bar {*/
/*    padding-right: 40px;*/
/*    flex-wrap: wrap;*/
/*    justify-content: center;*/
/*}*/

/*.navigation-bar {*/
/*    display: flex;*/
/*    padding-right: 240px;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

.navigation-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 10px;
}

.original-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: url("images/red-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 0px;
    justify-content: space-around;
}


.nav-right-part {
    /*position: absolute;*/
    /*top: 40px;*/
    /*right: 30px;*/
    display: flex;
    align-items: center;
    gap: 20px;
    /*padding: 25px 0px;*/
    justify-content: center;
}

.logodiv {
    margin-left: 50px;
}

.divpart {
    padding: 25px 70px;
    color: #D82B2B;
}

.divpartP:hover {
    color: white;
    cursor: pointer;
}

div.nav-right-part > div {
    color: #D82B2B;
}

.allSeparated {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0px 0px 100px;
}

.cells {
    width: 200px;
    height: 100px;
    padding: 20px 10px;
    border-radius: 26px;
    border: 1px solid #D82B2B;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.backgroundBox {
    padding: 40px;
    min-height: 76vh;
    background-image: url("./images/white-background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.phone:hover {
    color: white;
    cursor: pointer;
}

.reservation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.reservation-card {
    background-color: #fdfdfd;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 230px;
    transition: transform 0.2s ease;
    border-left: 5px solid #e67e22;
    display: flex;
    flex-direction: column;
}

.reservation-card:hover {
    transform: translateY(-10px) rotate(-2deg);
}

.reservation-card p {
    margin: 6px 0;
    font-size: 15px;
    color: #333;
    font-weight: lighter;
}

.no-reservations {
    text-align: center;
    font-size: 18px;
    color: #777;
    margin-top: 20px;
}


.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-items: center;
}

.profile-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 5px solid #D82B2B;
    transition: transform 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-10px) rotate(-2deg);

}

.profile-card label {
    font-weight: lighter;
    color: #D82B2B;
}

.profile-card input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-items: center;
}

.order-card {
    background-color: #fffef9;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    max-width: 340px;
    width: 100%;
    border-left: 5px solid #D82B2B;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.order-card:hover {
    transform: translateY(-10px) rotate(-2deg);
}

.order-card p {
    margin: 6px 0;
    font-size: 15px;
    color: black;
    font-weight: lighter;
}

@media (max-width: 768px) {

    .orders-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0px;
        padding: 0px;
        justify-items: center;
    }

    .profile-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        padding: 0px;
        gap: 0px;
        justify-items: center;
    }

    .reservation-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 0px;
        padding: 0px;
        justify-items: center;
    }

    .za_flex {
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .theUser, .theUser2, .theUser3 {
        margin: 0;
        font-size: 18px; /* може помала големина за телефон */
        flex-shrink: 1; /* овозможи да се смали ако треба */
        font-weight: lighter;
    }

    .profile-card input {
        font-size: 14px;
    }

    .divpart {
        padding: 10px;
        text-align: center;
    }

    .logodiv {
        margin-left: 0;
    }

    .backgroundBox {
        padding: 10px;
    }

    .saveButton {
        font-size: 10px;
        width: 50px;

    }

    .separatedInput {
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }

    .arrow-icon {
        flex-shrink: 0; /* стрелката нека остане цела */
        font-size: 16px;
        margin-left: 8px;
    }

    .profile-card, .order-card, .reservation-card {
        width: 50%; /* помалку од 100% ширина на екран */
        margin: 7px auto; /* да се центрира */
        padding: 5px; /* можеш да го намалиш padding ако сакаш */
        font-size: 10px; /* по мали букви за подобра прегледност */
        max-width: 150px;
        display: flex;
        flex-direction: column;
    }

    .profile-card input {
        font-size: 10px;
    }

    .reservation-card p {
        font-size: 10px;
    }

    .order-card p {
        font-size: 10px;
    }
}


.add-card-again {
    background-color: red;
    background-image: linear-gradient(45deg, #ff4d4d, #ff1a1a); /* gradient */
    color: white;
    font-weight: lighter;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* depth */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 5px 0px;
    font-family: 'Rubik Dirt', sans-serif;
}

.add-card-again:hover {
    background-color: #ff6666;
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.cancel-booking {
    background-color: red;
    background-image: linear-gradient(45deg, #ff4d4d, #ff1a1a); /* gradient */
    color: white;
    font-weight: lighter;
    border: none;
    padding: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* depth */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 5px 0px;
    font-family: 'Rubik Dirt', sans-serif;

}

.cancel-booking:hover {
    background-color: #ff6666;
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
}

.modal-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}

.modal-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.delete-reservation-1 {
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 5px 0px;
}

.delete-reservation-1:hover {
    background-color: #e68181;
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.delete-reservation-2 {
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 5px 0px;
}

.delete-reservation-2:hover {
    background-color: #a8a8ef;
    transform: scale(1.025);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.grid-transition {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.grid-transition.show {
    opacity: 1;
    max-height: 1000px; /* enough to fit content */
    transform: translateY(0);
}

