﻿/* WhatsApp Share Input */
.whatsapp-input-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.wa-input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.wa-btn {
    background: #25D366;
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

    .wa-btn i {
        margin-right: 5px;
    }

    .wa-btn:hover {
        background: #1ebe57;
    }

/* QR Image Center */
.qr-img {
    display: block;
    margin: 0 auto 10px;
}

/* Sticky Bottom Menu */
.menu_bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.menu_container {
    display: flex;
    justify-content: space-between;
    gap: 2px;
}

.menu_item {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
}

    .menu_item i {
        display: block;
        font-size: 16px;
        margin-bottom: 4px;
    }

/* Share Box */
#shareBox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1000;
}

    #shareBox .share-inner {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        background: #fff;
        width: min(420px,90vw);
        border-radius: 12px;
        padding: 16px;
    }

    #shareBox .close {
        position: absolute;
        right: 10px;
        top: 8px;
        font-size: 22px;
        cursor: pointer;
    }

.shar_btns {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    margin: 8px 0;
    cursor: pointer;
}

    .shar_btns i {
        width: 22px;
        text-align: center;
    }

/* Profile & Card Images */
.card_content {
    text-align: center;
    margin-bottom: 12px;
}

.card .card_content img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.card2 img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
}

/* Gallery Grid */
.gallery_row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
}

.gallery_img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .gallery_img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 10px rgba(0,0,0,.4);
    }

/* Gallery Popup */
.gallery-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.gallery-popup-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
    animation: zoomIn .3s ease;
}

.gallery-popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Feedback Cards */
.feedback_row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.feedback_block {
    flex: 1 1 250px;
    max-width: 280px;
    padding: 10px 10px 38px;
    font-family: system-ui;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px #cccccc36;
    margin: 8px;
    border-radius: 9px;
    border: 2px solid #ff9800;
    border-left: 3px solid #673ab7;
    border-right: 2px solid #4caf50;
    font-weight: 600;
}

.feed_by {
    color: #444242;
    text-decoration: underline;
    text-transform: capitalize;
    font-size: 12px;
}

.feed_back {
    white-space: pre-wrap;
}

.feedback_block .star {
    display: inline-block;
    color: #ff9800;
    font-size: 25px;
}
.card-wrapper {
    max-width: 400px; /* looks like mobile card */
    margin: 0 auto; /* center horizontally */
    padding: 10px;
    background: #fff; /* white card background */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
