/**
 * Registration wizard step 1 — pool cards (matches swim.lt baseinu-darbo-laikas layout).
 */

.spr-pool-step {
    padding: 0 0 2rem;
}

.spr-pool-step__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

.spr-pool-step__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin: 0;
    padding: 1.35rem 1.5rem;
    background: #bce8ff;
    border: 1px solid #9fd4f5;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: #1a202c;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Registration step: show address like baseinu-darbo-laikas (schedule skin hides it globally). */
.swim-home-pools--registration-step .swim-home-pools__address {
    display: block !important;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2d3748;
}

.swim-home-pools--registration-step .swim-home-pools__name {
    margin: 0 0 0.65rem;
    font-size: clamp(1.25rem, 3.2vw, 1.5rem);
    font-weight: 400;
    color: #00509e;
    line-height: 1.35;
}

.swim-home-pools--registration-step .swim-home-pools__hours {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
}

.swim-home-pools--registration-step .swim-home-pools__hours-row {
    margin-bottom: 0.65rem;
}

.swim-home-pools--registration-step .swim-home-pools__hours-row:last-child {
    margin-bottom: 0;
}

.swim-home-pools--registration-step .swim-home-pools__hours-days {
    display: block;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.swim-home-pools--registration-step .swim-home-pools__hours-times {
    display: block;
    font-weight: 400;
}

.swim-home-pools--registration-step .swim-home-pools__contacts-title {
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
    color: #1a202c;
}

.swim-home-pools--registration-step .swim-home-pools__contacts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.swim-home-pools--registration-step .swim-home-pools__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    color: #4a5568;
}

.swim-home-pools--registration-step .swim-home-pools__contact i {
    width: 1.1rem;
    text-align: center;
    color: #00509e;
}

.swim-home-pools--registration-step .swim-home-pools__contact a {
    color: #00509e;
}

.spr-pool-step__map {
    width: 100%;
    margin: 0.25rem 0 0;
}

.spr-pool-step__map a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.spr-pool-step__map-image,
.spr-pool-step__map .mini-map {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.spr-pool-step__submit {
    width: 100%;
    margin: 0.25rem 0 0;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    background: #6ec1e4;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.25);
}

.spr-pool-step__submit:hover,
.spr-pool-step__submit:focus {
    background: #00509e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 115, 170, 0.35);
    color: #fff;
}

.spr-pool-step__empty {
    text-align: center;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .spr-pool-step__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.25rem;
        row-gap: 1.75rem;
    }
}

/* Override legacy pool step layout from form-styles.css */
.spr-pool-step-form .button-container,
.spr-pool-step-form .pool-item,
.spr-pool-step-form .btn-pool {
    all: unset;
}

.spr-pool-step-form .button-container {
    display: contents;
}
