/* Green Parking Frontend Styles */
.gp-mobile-app-wrapper {
    background-color: #015E88; /* Deep blue background for all steps */
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: -20px; /* Offset potential theme padding if needed */
    padding-bottom: 40px;
}

.gp-mobile-header {
    background: #015E88; /* Deep blue from Figma */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gp-mobile-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-mobile-header-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.gp-mobile-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gp-mobile-header-right a {
    color: #fff;
    display: flex;
}
.gp-home-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.gp-parking-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-parking-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.gp-tile-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gp-tile-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-tile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gp-tile-title {
    margin: 0 0 2px 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.gp-tile-meta {
    margin: 0;
    font-size: 12px;
    color: #555;
    line-height: 1.3;
}

.gp-tile-right {
    display: flex;
    align-items: center;
}

.gp-tile-btn {
    background-color: #B82A75;
    /* Pink matching Figma */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.gp-tile-btn:hover {
    background-color: #9b2362;
    color: #fff;
}

/* Step 2 Views Styles */
.gp-step2-wrapper {
    position: relative;
    padding: 65px 10px 20px;
    min-height: 80vh;
    /* space for background */
    background-size: cover;
    background-position: center;
    background-color: #015E88;
    /* fallback */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Optional bg classes for standard parkings if you have images */
.gp-arena-bg {
    background-image: url('../images/tlo-arena.webp');
}
.gp-expo-bg {
    background-image: url('../images/tlo-main.webp');
}
.gp-fala-bg {
    background-image: url('../images/tlo-fala.webp');
}
.gp-zoo-bg {
    background-image: url('../images/tlo-zoo.webp');
}

.gp-home-bg {
    background-color: #015E88;
}

.gp-home-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px; /* Covers 4 parking tiles and stops exactly above the map text */
    background-image: url('../images/tlo-main.webp');
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.gp-home-bg .gp-home-wrapper {
    position: relative;
    z-index: 1;
}

/* placeholders */

.gp-step2-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto 30px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gp-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.gp-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.gp-arena-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.gp-tab-btn {
    flex: 1;
    background: #fff;
    color: #B82A75;
    border: 1px solid #B82A75;
    border-radius: 6px;
    padding: 10px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.gp-tab-btn.active,
.gp-tab-btn:hover {
    background: #B82A75;
    color: #fff;
}

.gp-form-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.gp-col-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gp-col-right {
    flex: 1;
}

.gp-input-group label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.gp-input-with-icon {
    position: relative;
}

.gp-input-group input[type="date"],
.gp-input-group input[type="time"],
.gp-input-group input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

.gp-price-input {
    background: #fff;
    text-align: center;
    font-weight: bold;
    cursor: not-allowed;
}

/* Event List Styles */
.gp-events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gp-event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0px;
    border-bottom: none;
}

.gp-event-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.gp-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-event-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gp-event-info h3 {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.gp-event-info p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.gp-event-action {
    margin-left: 10px;
}

.gp-event-action .gp-btn-pink {
    padding: 8px 15px;
    font-size: 12px;
}

/* Pagination */
.gp-events-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.gp-events-pagination .gp-page-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #B82A75;
    color: #B82A75;
    background: #fff;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    font-weight: bold;
}

.gp-events-pagination .gp-page-btn.active {
    background: #B82A75;
    color: #fff;
}

/* Bottom Nav */
.gp-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
}
.gp-bottom-nav > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.gp-btn-pink,
button.gp-btn-pink {
    background-color: #B82A75 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    font-size: 13px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    line-height: inherit !important;
    box-sizing: border-box !important;
    height: 42px !important;
}

.gp-btn-outline,
a.gp-btn-outline {
    background-color: #fff !important;
    color: #B82A75 !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    font-size: 13px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    margin: 0 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    line-height: inherit !important;
    box-sizing: border-box !important;
    height: 42px !important;
}

/* Override Theme and WooCommerce Headings */
h1, h2, h3, h4, h5, h6, 
.wp-block-heading, 
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4, .woocommerce h5, .woocommerce h6 {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}