/* Network Selection Page Styles */
@import url('shared-components.css');

/* WiFi Background Image Positioning */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-15-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2rem;
}

.wifi-back-image {
    position: relative;
    max-width: 90%;
    height: auto;
    opacity: 0.8;
    z-index: 1;
    margin-bottom: -50px;
    align-self: flex-start;
}

.wifi-front-image {
    position: relative;
    max-width: 90%;
    height: auto;
    z-index: 2;
    margin-top: -50px;
    margin-left: 50px;
    align-self: flex-start;
}

.hero-15-txt {
    position: relative;
    z-index: 3;
}

.hero-form-card {
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .hero-15-img {
        position: relative;
        width: 100%;
        height: auto;
        transform: none;
        top: auto;
        margin-top: 2rem;
    }

    .wifi-back-image,
    .wifi-front-image {
        max-width: 100%;
    }
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Step Progress Indicator */
.step-progress {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #5B21B6 100%);
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
    margin-top: 0;
    padding-top: calc(1rem + 10px);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.step-progress .container {
    width: 100%;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.completed .step-circle {
    background: var(--color-secondary);
    color: #8B5CF6;
}

.step.active .step-circle {
    background: var(--color-secondary);
    color: #8B5CF6;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

.step span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.step.completed span,
.step.active span {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 1.5rem 0;
    background: #F9FAFB;
    min-height: calc(100vh - 200px);
    transition: filter 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.main-content.blurred {
    filter: blur(5px);
    pointer-events: none;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-content {
    flex: 1;
}

.header-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    text-align: left;
    line-height: 1.1;
}

.header-content p {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 0;
    text-align: left;
    font-weight: 500;
}

.cost-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    padding: 0.55rem 1.2rem;
    border-radius: 12px;

    border: 1px solid var(--color-main);
    flex-shrink: 0;
    animation: slideInRight 0.8s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.cost-label {
    font-size: 0.9rem;
    color: #6B7280;
}

.cost-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B5CF6;
}

.cost-info {
    color: #6B7280;
    cursor: pointer;
}

/* Map Section */
.map-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);

    margin-bottom: 2rem;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.4s both;
    transition: all 0.3s ease;
}

.map-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 19px;
    border-bottom: 1px solid #E5E7EB;
}

.map-header-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-bottom: none;
    height: 100%;
    min-height: 350px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.map-header-centered::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg_card_check_mobile_coverage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    z-index: -1;
}

.map-header-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.map-header-centered h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.map-header-centered .postcode-search {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.map-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.map-expand-btn {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.map-expand-btn:hover {
    background: #F3F4F6;
}

.map-container {
    position: relative;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(45deg, #10B981, #059669);
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 10;
}

.postcode-search {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-header-centered .postcode-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.postcode-search input {
    flex: 1;
    padding: 1rem 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 9px 0 0 9px;
}

.search-btn {
    background: #8B5CF6;
    color: white;
    border: none;
    padding: 0.75rem 1.6rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0 9px 9px 0px;
}

.search-btn:hover {
    background: #6D28D9;
}

.map-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
}

/* Postcode Search Container */
.postcode-search-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Address Selection Section */
.address-selection-section {
    padding: 1.5rem 2rem;
    border-top: 1px solid #E5E7EB;
    animation: slideDown 0.3s ease-out;
}

.address-selection-section.hidden {
    display: none !important;
}

.address-selection-section h3 {
    margin: 0 0 1rem 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.address-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.address-select option {
    padding: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.address-select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.address-select:hover {
    border-color: #9CA3AF;
}

/* Coverage Results Section */
.coverage-results-section {
    padding: 1.5rem 1rem;
    border-top: 1px solid #E5E7EB;
    animation: slideDown 0.3s ease-out;
}

.coverage-results-section.hidden {
    display: none !important;
}

.coverage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.coverage-header h3 {
    margin: 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
}

.coverage-content {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 1.5rem;
}

.coverage-address-info h4 {
    margin: 0 0 1rem 0;
    color: #1F2937;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: #F9FAFB;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.likely {
    background: #10B981;
}

.legend-color.limited {
    background: #F59E0B;
}

.legend-color.unlikely {
    background: #EF4444;
}

/* Network Selection */
.network-selection {
    margin: 0 auto 3rem auto;
    width: 80%;
}

.network-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.network-plan-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
    transform-style: preserve-3d;
}

.network-plan-card:nth-child(1) {
    animation-delay: 0.6s;
}

.network-plan-card:nth-child(2) {
    animation-delay: 0.8s;
}

.network-plan-card:nth-child(3) {
    animation-delay: 1.0s;
}

.network-plan-card:nth-child(4) {
    animation-delay: 1.2s;
}

.network-plan-card:hover {
    border-color: #8B5CF6;
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        0 20px 60px rgba(139, 92, 246, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.network-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(139, 92, 246, 0.1),
            transparent);
    transition: left 0.5s ease;
}

.network-plan-card:hover::before {
    left: 100%;
}

.network-plan-card.selected {
    border-color: #8B5CF6;
    border-width: 3px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: white;
}

.network-plan-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-secondary);
    color: #8B5CF6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    z-index: 10;
    animation: checkmarkBounce 0.6s ease-out;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.network-plan-header {
    margin-bottom: 2rem;
}

.network-type {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.network-plan-card.selected .network-type {
    color: rgba(255, 255, 255, 0.8);
}

.network-name {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.network-logo {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.network-plan-card:hover .network-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

.network-plan-card.selected .network-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.network-features {
    margin-bottom: 2rem;
}

/* Feature items - using shared component */
.network-plan-card.selected .price {
    color: white;
}

.network-plan-card.selected .period {
    color: rgba(255, 255, 255, 0.8);
}

.network-pricing {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
}

.network-plan-card.selected .price-note {
    color: rgba(255, 255, 255, 0.8);
}

.select-network-btn {
    background: var(--gradient-main);
    color: white;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transform-style: preserve-3d;
}

.select-network-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.select-network-btn:active::before {
    width: 300px;
    height: 300px;
}

.select-network-btn:hover {
    background: var(--gradient-main-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.select-network-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.network-plan-card.selected .select-network-btn {
    background: white;
    color: #8B5CF6;
}

.network-plan-card.selected .select-network-btn:hover {
    background: #F8FAFC;
}

/* Page Navigation - using shared component */

/* Modal Overlay - using shared component */
/* Blur Overlay */
.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.blur-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Design */
/* Medium Tablet Styles */
@media (max-width: 1024px) {
    .network-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }

    .header-row {
        gap: 1rem;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .step-progress {
        margin-top: 0;
        padding: 0.75rem 0;
        padding-top: calc(0.75rem + 70px);
        min-height: 120px;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .step {
        flex: 1;
        min-width: 80px;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .step span {
        font-size: 0.7rem;
    }

    .main-content {
        padding: 1rem 0;
    }

    .page-header {
        margin-bottom: 1.5rem;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .header-content h1 {
        font-size: 2rem;
        text-align: center;
    }

    .header-content p {
        text-align: center;
    }

    .header-content {
        text-align: center;
        width: 100%;
    }

    .cost-display {
        width: 100%;
        justify-content: center;
    }

    .network-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .network-plan-card {
        padding: 1.5rem;
    }

    .logo-o2-large,
    .logo-ee-large,
    .logo-three-large {
        font-size: 3rem;
    }

    .logo-vodafone-large {
        font-size: 2rem;
    }

    .map-placeholder {
        height: 300px;
    }

    .map-header-centered h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .map-header-centered .postcode-search {
        max-width: 400px;
    }

    .page-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .page-navigation .btn-back,
    .page-navigation .btn-continue {
        width: 100% !important;
    }

    .btn-return-home {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .cost-display {
        flex-direction: column;
        gap: 0;
    }

    .network-plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .network-plan-card {
        padding: 1rem;
    }

    .network-logo {
        max-height: 40px;
        max-width: 100px;
    }

    .map-header-centered h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .map-header-centered .postcode-search {
        max-width: 300px;
    }

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

    .map-header-centered {
        min-height: 350px;
    }
}

/* Return to Homepage Button */
.btn-return-home {
    background: var(--gradient-main);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-return-home:hover {
    background: var(--gradient-main-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
       color: white !important;
}

.btn-return-home:active {
    transform: translateY(0) scale(0.98);
}

/* Enhanced Footer */
.enhanced-footer {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #5B21B6 100%);
    border-top: none;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    color: white;
}

/* Footer Trust Section */
.footer-trust-section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-certifications {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;

    margin: 0 auto;
}

.footer-trust-section .cert-badge {
    display: flex;
    align-items: center;
    gap: 1rem;

    backdrop-filter: blur(10px);

    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-trust-section .cert-badge:hover {
    /* transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); */
}

.footer-trust-section .cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-trust-section .cert-badge:nth-child(4) .cert-icon {
    color: var(--color-secondary);
}

.footer-trust-section .cert-text {
    display: flex;
    flex-direction: column;
}

.footer-trust-section .cert-text strong {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-trust-section .cert-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Footer Main Content */
.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.security-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.security-item i {
    color: var(--color-secondary);
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Modern Animations & Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

@keyframes checkmarkBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-5px) rotateX(1deg) rotateY(1deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes shakeIn {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }

    25% {
        transform: translateX(5px);
    }

    50% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(2px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Professional Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 300px;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateX(500px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
}

.notification.warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.notification.info {
    background: var(--gradient-main);
    color: white;
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.notification-message {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    opacity: 0.8;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Inline Error Messages for Forms */
.inline-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #DC2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: shakeIn 0.4s ease-out;
}

.inline-error-icon {
    color: #EF4444;
    font-size: 1rem;
}

/* Selection Error Banner */
.selection-error-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
    animation: slideDown 0.4s ease-out;
}

.selection-error-banner.hidden {
    display: none;
}

.selection-error-icon {
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.selection-error-content {
    flex: 1;
}

.selection-error-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.selection-error-message {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Enhanced Footer Responsive Styles */
@media (max-width: 768px) {
    .network-logo {
        max-height: 45px;
        max-width: 110px;
    }

    .enhanced-footer {
        padding: 2rem 0 1rem;
    }

    .footer-trust-section {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .trust-certifications {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: none;
    }

    .footer-trust-section .cert-badge {
        padding: 0.75rem;
    }

    .footer-main {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .security-indicators {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-certifications {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .footer-trust-section .cert-badge {
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        margin: 0 10px;
    }

    .selection-error-banner {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }

    .selection-error-title {
        font-size: 0.9rem;
    }

    .selection-error-message {
        font-size: 0.8rem;
    }
}


/* Coverage Disclaimer Modal */
.disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclaimer-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
    color: #374151;
    line-height: 1.5;
}

.disclaimer-list li:last-child {
    border-bottom: none;
}

/* Coverage Results Modal */
.coverage-results-content {
    max-width: 600px;
    width: 90%;
}

.coverage-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

.coverage-address-info h3 {
    color: #1F2937;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.coverage-disclaimer {
    background: #F9FAFB;

    margin-bottom: 0.5rem;
}

.coverage-disclaimer p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.coverage-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.coverage-results-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    vertical-align: middle;
}

.network-logo-small {
    width: 40px;
    height: 40px;
}

.coverage-bar {
    width: 20px;
    height: 40px;
    border-radius: 4px;
}

.ee-color {
    background: #0099CC;
}

.o2-color {
    background: #CD7BE4;
}

.three-color {
    background: #0099CC;
}

.vodafone-color {
    background: #7D2093;
}

.coverage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.coverage-label {
    font-weight: 500;
    color: #374151;
}

.expand-btn {
    background: none;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
}

.expand-btn:hover {
    background: var(--color-main);
    border-color: var(--color-main);
    color: white !important;
}

.wifi-calling-tip {
    background: #EFF6FF;
    padding: 1rem;
    border-radius: 8px;

}

.wifi-calling-tip p {
    margin: 0;
    color: var(--color-main);
    font-size: 0.9rem;
    line-height: 1.5;
}
