﻿

body, html {
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

html {
    font-family: "quiche-display", sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}


.HomeDiv {
    background-color: #2B3155;
}

.containerHomeDiv {
    position: fixed;
    inset: 0px;
    width: auto;
    height: auto;
    max-width: 300px;
    max-height: 350px;
    margin: auto;
    text-align: center;
}

.containerLoginDiv {
    position: fixed;
    inset: 0px;
    width: auto;
    height: auto;
    max-width: 500px;
    max-height: 545px;
    margin: auto;
    text-align: center;
    overflow-y: auto;
}

.containerRequestDiv {
    position: fixed;
    inset: 0px;
    width: auto;
    height: auto;
    max-width: 800px;
    max-height: 98%;
    margin: auto;
    text-align: center;
    overflow-y: auto;
}

.containerMemberDiv {
    position: fixed;
    inset: 0px;
    width: auto;
    height: auto;
    max-width: 800px;
    max-height: 98%;
    margin: auto;
    text-align: center;
    overflow-y: auto;
}

.clubsContainer {
    position: fixed;
    inset: 0px;
    width: auto;
    height: auto;
    max-width: 800px;
    max-height: 98%;
    margin: auto;
    text-align: center;
    overflow-y: auto;
    background-color: white;
}

.LogoTitle {
    font-family: "quiche-display", sans-serif;
    font-weight: 800;
    font-style: italic;
    color: #AD8E53;
    font-size: 35px;
    text-align: center;
    white-space: nowrap;
}

.headerRequestLogoTitle {
    font-family: "quiche-display", sans-serif;
    font-weight: 800;
    font-style: italic;
    color: #AD8E53;
    font-size: 35px;
    text-align: center;
    white-space: nowrap;
}

.LogoTitleLittle {
    font-family: "quiche-display", sans-serif;
    font-weight: 700;
    font-style: italic;
    color: #AD8E53;
    font-size: 18px;
    text-align: center;
    line-height: 20px;
    white-space: nowrap;
}

.HomeBtnLogin {
    background-color: white;
    color: #AD8E53;
    font-family: "quiche-display", sans-serif;
    font-size: 25px;
    text-decoration: none;
    text-align: center;
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid #AD8E53;
    cursor: pointer;
    margin: 20px;
}

.LoginBoxDiv {
    border-radius: 10px;
}

.headerInfo {
    background-color: #AD8E53;
    padding: 70px 20px 0px 20px;
    border-radius: 10px 10px 0px 0px;
    min-height: 80px;
    text-align: left;
}

.headerRequestInfo {
    background-color: #2B3155;
    padding: 70px 20px 15px 20px;
    border-radius: 10px 10px 0px 0px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headerMemberInfo {
    background-color: #AD8E53;
    border-radius: 10px 10px 0px 0px;
    min-height: 100px;
    text-align: left;
}

.HeaderTitle {
    font-family: "quiche-display", sans-serif;
    font-weight: 600;
    color: white;
    font-size: 25px;
    text-align: center;
    white-space: nowrap;
}

.HeaderSubTittle {
    font-family: "quiche-display", sans-serif;
    color: white;
    font-size: 13px;
    text-align: center;
    line-height: 20px;
    white-space: nowrap;
}

.text-danger {
    color: red;
    font-size: 12px;
    font-family: sans-serif;
}

.text-success {
    color: green;
    font-size: 12px;
    font-family: sans-serif;
}


.bodyInfo {
    background-color: white;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
}
.bodyRequestInfo {
    background-color: white;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
    min-height: 530px;
}

.row {
    padding: 10px;
}

.inputText {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 2px solid #2B3155;
    border-radius: 10px;
    color: #2B3155;
}

input#showPasswordId {
    transform: scale(1.3);
    margin: 5px;
    border: 2px solid #2B3155;
}

.showPasswordText {
    font-family: sans-serif;
    font-size: 12px;
}

.BtnLogin {
    background-color: #2B3155;
    color: white;
    font-family: "quiche-display", sans-serif;
    font-size: 20px;
    text-decoration: none;
    text-align: center;
    padding: 10px 50px;
    border-radius: 10px;
    border: 1px solid #AD8E53;
    margin: 20px;
    cursor: pointer;
}

.forgotPassword {
    font-family: sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: black;
    text-decoration: none;
    width: 100%;
}

.MemberCard {
    background-color: #2B3155;
    position: relative;
    padding: 10px;
    width: 80%;
    margin: auto;
    bottom: 70px;
    height: 145px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 300px;
}

/***************************/
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.club-name {
    color: #AD8E53;
    font-size: 20px;
    font-weight: 600;
    padding-top: 10px;
}

.avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid white;
    background: #444;
}

/* Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.member-info {
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    text-align: left;
}

.member-since {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    text-align: left;
}

.memberDescription {
    text-align: justify;
    font-size: 15px;
    font-family: sans-serif;
    color: #787878;
    line-height: 20px;
}


/***********************/

.LoginBoxDiv.member {
    background-color: white;
}
.RequestBoxDiv {
    /*background-color: white;*/
    border-radius: 10px 10px 0px 0px;
}


.bodyMemberInfo {
    background-color: white;
    padding: 20px;
    border-radius: 0px 0px 10px 10px;
    position: relative;
    bottom: 65px;
}

/******************** Footer Menu ********************/
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: #2B3155;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    z-index: 1000;
}

.nav-item {
    color: #D1D0D5;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    position: relative;
}

    .nav-item i {
        display: block;
        font-size: 20px;
        margin-bottom: 2px;
    }

    .nav-item span {
        display: block;
        font-family: sans-serif;
    }

    .nav-item.active {
        color: #AD8E53;
    }

.badge {
    position: absolute;
    top: 2px;
    right: 10px;
    background-color: gold;
    border-radius: 50%;
    width: 8px;
    height: 8px;
}
/******************** Footer Menu ********************/



.LogOutBtn {
    cursor: pointer;
    color: black;
    border: 0px;
    background-color: transparent;
    font-size: 15px;
    padding-left: 2px;
    font-family: sans-serif;
    font-weight: 600;
    line-height: 25px;
}

.DisplayMenuList {
    margin: 15px;
    color: black;
    font-size: 15px;
    font-family: sans-serif;
    font-weight: 600;
}

    .DisplayMenuList div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .DisplayMenuList ul {
        list-style-type: none;
        text-align: justify;
        padding-left: 0px;
    }

        .DisplayMenuList ul > li {
            padding: 10px;
        }

            .DisplayMenuList ul > li > a {
                color: black;
                text-decoration: none;
                line-height: 25px;
            }

            .DisplayMenuList ul > li > i, .IconMenuItem {
                color: #AD8E53;
                font-size: 20px;
                padding-right: 20px;
            }

/* Hide default file input */
.custom-file-upload input[type="file"] {
    display: none;
}

/* Styled label as a button */
.custom-file-upload {
    display: inline-block;
    color: black;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}


#fileName {
    display: block;
    margin-top: 10px;
    color: #555;
    font-size: 13px;
}

#preview {
    display: block;
    margin: auto;
    width: 150px;
}



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

.modal-content {
    background: #fff;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
}

.modal-content label {
    margin-top: 12px;
    font-weight: bold;
}

.modal-content input {
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.custom-btn {
    margin-top: 16px;
    padding: 10px;
    background-color: #0e1b2a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .custom-btn.primary {
        background-color: #007bff;
    }


.input-with-iconLogin {
    position: relative;
}

    .input-with-iconLogin input {
        width: 100%;
        padding-right: 36px; /* reserve space for the icon */
        padding: 10px;
        box-sizing: border-box;
    }

    .input-with-iconLogin i {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px; /* ✅ ensure it has visible size */
        color: #666;
        cursor: pointer;
        line-height: 1;
        z-index: 2;
        display: inline-block;
        width: auto;
        height: auto;
    }


.input-with-icon {
    position: relative;
    margin-bottom: 16px;
}

    .input-with-icon input {
        width: 100%;
        padding-right: 36px; /* space for the icon */
        padding: 10px;
        box-sizing: border-box;
    }

    .input-with-icon i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #666;
    }



/************ Clubs ************/
.club-section {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
    text-align: center;
}

    .club-section .subtitle {
        margin-bottom: 2rem;
        color: #787878;
        font-size: 1rem;
    }

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.club-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    text-align: left;
    transition: transform 0.2s;
    cursor: pointer;
}

    .club-card:hover {
        transform: translateY(-5px);
    }

.club-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.club-card h3 {
    margin: 1rem;
    font-size: 1.2rem;
}

.club-card p {
    margin: 0 1rem 1rem;
    color: #787878;
    font-size: 0.95rem;
    font-family: sans-serif;
}

/************ Club ************/

.club-detail-container {
    /*max-width: 500px;*/
    margin: auto;
    font-family: sans-serif;
    /*border-radius: 16px;*/
    overflow: hidden;
    background: white;
}

/* New wrapper to enable positioning */
.club-cover-wrapper {
    position: relative;
}

.club-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Center header over image */
.club-header {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 160px;
}

/* Left arrow (back) */
.back-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: Black;
    font-weight: bold;
}

.club-header-title {
    font-size: 0.95rem;
    white-space: nowrap;
}


.club-content {
    padding: 30px 40px;
    min-height: 500px;
    overflow-y: auto;
}

.club-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

    .club-title-row h1 {
        font-family: "quiche-display", sans-serif;
        font-size: 1.2rem;
        font-weight: 500;
        margin: 0;
        white-space: nowrap;
    }

.photo-tour-btn {
    font-size: 0.9rem;
    background: #b08d45;
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-decoration: none;
}

.club-hours {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.club-address {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 1rem;
    margin-top: 0px;
}

    .club-address a {
        text-decoration: none;
        color: black;
    }

.club-description {
    color: #787878;
}

.club-section-list {
    border-top: 1px solid #eee;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .club-section-list ul {
        list-style-type: none;
        text-align: justify;
        padding-left: 0px;
    }

        .club-section-list ul > li {
            padding: 10px;
            font-weight: 600;
        }

            .club-section-list ul > li > i {
                color: #AD8E53;
                font-size: 20px;
                padding-right: 20px;
            }

            .club-section-list ul > li > a {
                text-decoration:none;
                color:black;
            }

.club-section-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    color: black;
}

.concierge-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #0a0a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
}

/************ PDF Modal ************/
.pdfModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.pdfModal-content {
    margin: 5% auto;
    background: #fff;
    padding: 1rem;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
}
#pdfContainer {
    width: 100%;
}

.pdfModal-close-btn {
    position: absolute;
    right: 15px;
    top: -5px;
    font-size: 20px;
    font-weight: bold;
    color: Black;
    cursor: pointer;
    z-index: 2;
    font-family: sans-serif;
}

#pdfContainer canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin-bottom: 16px;
}



/************ Call Modal ************/

.call-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.call-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 80%;
    max-width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-family: sans-serif;
}

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

.call-modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

    .call-modal .btn.confirm {
        background-color: #b08d45;
        color: white;
        text-decoration: none;
    }

    .call-modal .btn.cancel {
        background-color: #ccc;
    }


/************ Gallery Modal ************/
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery-image-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}

    .gallery-image-wrapper img {
        width: 100%;
        max-height: 85vh;
        border-radius: 8px;
        object-fit: contain;
    }

.gallery-controls {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
}

    .gallery-controls button {
        background: rgba(0, 0, 0, 0.6);
        color: white;
        font-size: 24px;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        .gallery-controls button:hover {
            background: rgba(255, 255, 255, 0.2);
        }

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    font-family: sans-serif;
}

/************ Request ************/

.help-section {
    text-align: center;
    margin: 0px;
}
    .help-section h2 {
        margin: 5px 0px 25px 0px;
        font-size: 30px;
        font-weight: 500;
    }

.help-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.help-card {
    position: relative;
    width: 250px;
    height: 385px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: white;
    text-align: center;
}

.help-label {
    font-size: 23px;
    font-weight: 500;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.help-call-btn {
    background-color: rgba(211, 211, 211, 0.5);
    padding: 12px;
    border-radius: 8px;
    display: inline-block;
    align-self: center;
    margin-bottom: 10px;
    color: white;
    font-size: 20px;
    border: 4px solid white;
}

    .help-call-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .help-call-btn i {
        pointer-events: none;
    }

.headerRequestInfoImg{
    width:130px;
}

#callConciergeModal ul {
    list-style: none;
    padding: 0px;
    text-align: justify;
}
    #callConciergeModal ul > li {
        padding: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
        #callConciergeModal ul > li > a {
            color: #AD8E53;
            padding-left: 10px;
            width: 25%;
            text-align:center;
        }
    #callConciergeModal ul > li > div {
        width:70%;
    }
@media screen and (max-width: 600px) {
    .help-card {
        width: 175px;
        height:350px;
    }

    .help-label {
        font-size: 18px;
    }

    .headerRequestInfoImg {
        width: 100px;
    }

    .headerRequestLogoTitle {
        font-size: 28px;
    }

    .help-section {
        margin: 0px;
    }

        .help-section h2 {
            margin-bottom: 25px;
            font-size: 25px;
        }

    .bodyRequestInfo {
        padding: 30px 0px;
    }

    .help-options {
        gap: 10px;
        flex-wrap: nowrap;
    }
    .headerRequestInfo {
        padding: 20px 20px 15px 20px;
    }
}

@media screen and (max-width: 500px) {
    .containerLoginDiv, .containerRequestDiv {
        max-width: 100%;
        max-height: 100%;
    }

    .LoginBoxDiv, .RequestBoxDiv {
        border-radius: 0px;
    }

    .headerInfo, .headerMemberInfo {
        border-radius: 0px;
    }

    .containerMemberDiv, .clubsContainer, .containerRequestDiv {
        max-height: 100%;
    }

    .bodyInfo, .bodyMemberInfo {
        height: 450px;
    }

    .club-content {
        padding: 20px 20px;
    }

    .help-card {
        width: 130px;
        height: 300px;
    }

    .help-label {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .headerRequestInfoImg {
        width: 100px;
    }

    .headerRequestLogoTitle {
        font-size: 28px;
    }
    .help-section {
        margin: 0px;
    }
        .help-section h2 {
            margin-bottom: 25px;
            font-size: 25px;
        }
    .bodyRequestInfo {
        padding: 30px 0px;
    }
    .help-options {
        gap: 10px;
        flex-wrap: nowrap; 
    }
    .headerRequestInfo {
        padding: 20px 20px 15px 20px;
    }

}

