/* Styles for Premium GoRentPe City Selection Popup */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

#grp-city-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    box-sizing: border-box;
}

#grp-city-popup-overlay.grp-active {
    opacity: 1;
    visibility: visible;
}

.grp-popup-container {
    position: relative;
    width: 100%;
    max-width: 650px;
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.8) 0%, rgba(155, 89, 182, 0.8) 50%, rgba(255, 158, 87, 0.8) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(108, 43, 217, 0.3);
    padding: 50px 40px;
    box-sizing: border-box;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

#grp-city-popup-overlay.grp-active .grp-popup-container {
    transform: scale(1);
}

/* Close Button */
.grp-popup-close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #718096;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    z-index: 100000;
}

.grp-popup-close:hover {
    background: #6C2BD9;
    color: #ffffff;
    transform: rotate(90deg);
}

.grp-popup-close svg {
    width: 20px;
    height: 20px;
}

/* Logo */
.grp-logo {
    font-size: 50px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.grp-logo-highlight {
    color: #FF9E57;
}

/* Pill Badge */
.grp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 25px;
}

.grp-badge-icon {
    font-size: 16px;
}

.grp-badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Headings & Text */
.grp-heading {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.grp-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 500px;
    margin: 0 auto 40px auto;
}

/* City Cards Grid */
.grp-city-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grp-city-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 25px 15px;
    box-sizing: border-box;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.grp-city-icon {
    font-size: 40px;
    transition: transform 0.35s ease;
}

.grp-city-name {
    font-size: 18px;
    font-weight: 700;
    color: #2D3748;
    transition: color 0.35s ease;
}

/* Card Hover States */
.grp-city-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: #6C2BD9;
    box-shadow: 0 15px 35px rgba(108, 43, 217, 0.4);
}

.grp-city-card:hover .grp-city-name {
    color: #ffffff;
}

.grp-city-card:hover .grp-city-icon {
    transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .grp-popup-container {
        padding: 40px 25px;
        max-width: 95%;
    }
    
    .grp-heading {
        font-size: 32px;
    }
    
    .grp-logo {
        font-size: 38px;
    }
    
    .grp-popup-close {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 550px) {
    .grp-city-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grp-city-card {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 15px 25px;
    }
}
