* {
    box-sizing: border-box;
}

body{
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    background-color: #f5f5f5;
    color: #333;
}

ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

#content{
	margin-top: 0;
    padding-bottom: 60px;
    width: 100%;
}

#dis{
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	z-index:1;
}

#footer{
    position: fixed;
    bottom: 0;
    background: linear-gradient(135deg, #D4AF37 0%, #AA8C2C 100%);
    width: 100%;
    height: 56px;
    z-index: 1000;
    left: 0;
    right: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#header{
    background: linear-gradient(135deg, #D4AF37 0%, #AA8C2C 100%);
    color:#ffffff;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none !important;
}
#close {
    background-color: #000;
    color: #fff;
    position: absolute;
    padding: 4px 8px;
    right: 0px;
    top: 0px;
    font-size: 15px;
    cursor: pointer;
}

#menu{
    color: #fff;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#menu li{
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    min-height: 44px;
    min-width: 100px;
    text-align: center;
    justify-content: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    border: none;
    touch-action: manipulation;
    pointer-events: auto;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    animation: none;
}

#menu li:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

#menu li:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.25);
}

#menu li.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide Email button */
#menu li.sendata {
    display: none !important;
}

#logo {
    background-image: url(../img/logo.png);
    width: 70px;
    height: 30px;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    display: none !important;
}
#title{
	text-align: center;
	margin-top: 3px;
}

#img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    width: 100%;
    background-color: #e0e0e0;
    padding: 0;
}

#img li{
    position: relative;
    overflow: hidden;
    line-height: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    padding-bottom: 100%;
}

#img li img{
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#img li.selected{
    background-color: rgba(212, 175, 55, 0.3);
}

#img li.selected img{
    opacity: 0.5;
    filter: brightness(0.7);
}

#img li span{
    position: absolute;
    color: #fff;
    background-color: #D4AF37;
    top: 8px;
    right: 8px;
    padding: 6px 8px;
    display: none !important;
    z-index: 1;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#img li.selected span{
    display: none !important;
}

/* popup css */
#popupsends{
    display: none;
}

#showhidepopup{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    backdrop-filter: blur(3px);
}

#thankyou{
    position: fixed;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: calc(90% - 20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    z-index: 2001;
    text-align: center;
    font-size: 16px;
    display: none;
    animation: slideUp 0.3s ease;
}

#thankyou p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

#thankyou a{
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

#popupsend{
    position: fixed;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: calc(90% - 20px);
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    z-index: 2001;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateY(0);
    }
}

.lb, .lbip{
    padding: 8px 0;
    text-align: left;
}

.lb {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 6px;
}

.lbip input{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lbip input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lbip.bt{
    text-align: center;
    margin-top: 16px;
}

.btn{
    background: linear-gradient(135deg, #D4AF37 0%, #AA8C2C 100%);
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    min-height: 44px;
    line-height: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

.btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn:active {
    transform: scale(0.98);
}
#selectd{
    background-color: #f0f0f0;
    padding: 10px;
    min-height: 80px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#selectd li{
    position: relative;
    float: left;
    width: calc(50% - 4px);
    height: auto;
    aspect-ratio: 1;
    padding: 2px;
    overflow: hidden;
    line-height: 0;
    border-radius: 4px;
}

#selectd li img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 4px;
}

#loadmore {
    position: fixed;
    bottom: 56px;
    width: 100%;
    left: 0;
    padding: 12px;
    background: linear-gradient(to bottom, #fff, #f5f5f5);
    font-weight: bold;
    text-align: center;
    right: 0;
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
    display: none !important;
}

/* Remove all animations */
@keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 1.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 1.0; }
    100% { opacity: 1.0; }
}

@-moz-keyframes flash {  
    0% { opacity: 1.0; }
    50% { opacity: 1.0; }
    100% { opacity: 1.0; }
}