/* ============================================
   DELNEXT POINTS - Pickup Points Locator Page
   ============================================ */

/* Hero Section */
.pickup-points-hero {
    background: linear-gradient(135deg, #0052CC 0%, #0747A6 50%, #003D99 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.pickup-points-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.pickup-points-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.pp-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.pp-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pp-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Box */
.pp-search-box {
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 620px;
    margin: 0 auto;
}

.pp-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-country-select-wrap {
    flex-shrink: 0;
}

.pp-country-select {
    appearance: none;
    -webkit-appearance: none;
    background: #f4f5f7;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    cursor: pointer;
    color: #172B4D;
    font-weight: 500;
    transition: border-color 0.2s;
    min-width: 130px;
}

.pp-country-select:focus {
    outline: none;
    border-color: #0052CC;
    background: #fff;
}

.pp-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.pp-search-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: #7A869A;
    pointer-events: none;
}

.pp-search-input {
    width: 100%;
    border: 2px solid transparent;
    background: #f4f5f7;
    border-radius: 10px;
    padding: 14px 16px 14px 44px;
    font-size: 1rem;
    color: #172B4D;
    transition: all 0.2s;
}

.pp-search-input:focus {
    outline: none;
    border-color: #0052CC;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.pp-search-input.pp-input-error {
    border-color: #DE350B;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.pp-search-btn {
    flex-shrink: 0;
    background: #0052CC;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.pp-search-btn:hover {
    background: #0747A6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.pp-search-btn:active {
    transform: translateY(0);
}

/* Results Section */
.pickup-points-results {
    padding: 40px 0 60px;
    background: #f8f9fa;
    min-height: 200px;
}

.pp-results-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.pp-results-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 500px;
}

.pp-list-panel {
    border-right: 1px solid #e8eaed;
    display: flex;
    flex-direction: column;
}

.pp-list-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e8eaed;
    background: #fafbfc;
}

.pp-list-header h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #5E6C84;
    font-weight: 600;
}

.pp-list-scroll {
    overflow-y: auto;
    max-height: 450px;
    flex: 1;
}

/* Point Cards */
.pp-point-card {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f1f3;
    cursor: pointer;
    transition: all 0.15s;
}

.pp-point-card:hover {
    background: #f4f5f7;
}

.pp-point-card.active {
    background: #E6F0FF;
    border-left: 3px solid #0052CC;
}

.pp-point-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pp-point-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #0052CC;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pp-point-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #172B4D;
    line-height: 1.3;
}

.pp-point-details p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: #5E6C84;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pp-point-details svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #7A869A;
}

/* Map Panel */
.pp-map-panel {
    position: relative;
}

.pp-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Custom Map Marker */
.pp-marker-icon {
    background: none !important;
    border: none !important;
}

/* Empty / Loading / No Results States */
.pp-empty-state,
.pp-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.pp-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #E6F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pp-empty-icon svg {
    width: 36px;
    height: 36px;
    color: #0052CC;
}

.pp-empty-state h3,
.pp-no-results h3 {
    font-size: 1.3rem;
    color: #172B4D;
    margin-bottom: 8px;
}

.pp-empty-state p,
.pp-no-results p {
    color: #5E6C84;
    font-size: 1rem;
    max-width: 400px;
}

.pp-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.pp-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E6F0FF;
    border-top-color: #0052CC;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pp-loading p {
    color: #5E6C84;
    font-size: 0.95rem;
}

/* Info Section */
.pickup-points-info {
    padding: 80px 0;
    background: #fff;
}

.pp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pp-info-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: #fafbfc;
    border: 1px solid #e8eaed;
    transition: all 0.2s;
}

.pp-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.pp-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pp-info-icon svg {
    width: 28px;
    height: 28px;
}

.pp-info-icon.bg-blue-tint {
    background: #E6F0FF;
    color: #0052CC;
}

.pp-info-icon.bg-green-tint {
    background: #E3FCEF;
    color: #006644;
}

.pp-info-icon.bg-purple-tint {
    background: #EAE6FF;
    color: #5243AA;
}

.pp-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #172B4D;
    margin-bottom: 10px;
}

.pp-info-card p {
    font-size: 0.9rem;
    color: #5E6C84;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .pp-results-grid {
        grid-template-columns: 1fr;
    }

    .pp-list-panel {
        border-right: none;
        border-bottom: 1px solid #e8eaed;
    }

    .pp-list-scroll {
        max-height: 300px;
    }

    .pp-map {
        min-height: 350px;
    }

    .pp-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .pickup-points-hero {
        padding: 100px 0 40px;
    }

    .pp-hero-title {
        font-size: 2rem;
    }

    .pp-hero-subtitle {
        font-size: 1rem;
    }

    .pp-search-form {
        flex-direction: column;
    }

    .pp-country-select-wrap,
    .pp-input-wrap,
    .pp-search-btn {
        width: 100%;
    }

    .pp-search-btn {
        padding: 14px;
    }

    .pp-results-grid {
        grid-template-columns: 1fr;
    }

    .pp-map {
        min-height: 300px;
    }

    .pickup-points-info {
        padding: 50px 0;
    }

    .pp-info-card {
        padding: 28px 20px;
    }
}
