/* Go Troppo NBN Search - Wildly Fast Internet Theme */

/* Color palette matching the design */
:root {
    --wild-midnight: #0f0f1e;
    --wild-navy: #1a1a2e;
    --wild-coral: #ff6b6b;
    --wild-orange: #ff8e53;
    --wild-yellow: #ffd93d;
    --wild-teal: #20d6b4;
    --wild-purple: #7209b7;
    --wild-pink: #ff4e88;
    --wild-green: #3ebd60;
    --wild-text: #fff;
    --wild-text-muted: rgba(255, 255, 255, 0.7);
    --wild-glass: rgba(255, 255, 255, 0.08);
    --wild-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ffd93d 100%);
    --wild-gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
}

/* Container with dark theme */
.nbn-address-search-container[data-theme='premium'] {
    background: var(--wild-midnight);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Animated wave background */
.nbn-address-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.1) 0%, rgba(15, 15, 30, 0.1) 100%);
    background-size: cover;
    opacity: 0.3;
    animation: waveAnimation 20s linear infinite;
}

@keyframes waveAnimation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Main card with glassmorphism on dark background */
.nbn-search-main-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Parrot illustration - hidden */
.nbn-parrot-illustration {
    display: none;
}

/* Parrot animation removed */

/* Search wrapper */
.nbn-search-wrapper {
    padding: 3rem;
    position: relative;
    z-index: 10;
}

/* Heading with wildly fast theme */
.nbn-search-heading h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--wild-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.nbn-search-heading h1 .highlight {
    background: var(--wild-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nbn-search-subtitle {
    color: var(--wild-text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Progress steps with numbers */
.nbn-progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}

/* Progress line connector */
.nbn-progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

.nbn-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.nbn-step.active,
.nbn-step.completed {
    opacity: 1;
}

.nbn-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wild-text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.nbn-step.active .nbn-step-circle {
    background: var(--wild-gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.nbn-step.completed .nbn-step-circle {
    background: var(--wild-green);
    border-color: transparent;
    color: white;
}

.nbn-step.completed .nbn-step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 1.5rem;
}

.nbn-step.completed .nbn-step-circle span {
    display: none;
}

.nbn-step-label {
    font-size: 0.875rem;
    color: var(--wild-text-muted);
    text-align: center;
    max-width: 100px;
}

.nbn-step.active .nbn-step-label,
.nbn-step.completed .nbn-step-label {
    color: var(--wild-text);
}

/* Input group */
.nbn-input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.nbn-floating-label {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 0.875rem;
    color: var(--wild-text-muted);
    background: var(--wild-navy);
    padding: 0 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.nbn-address-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    transition: all 0.3s ease;
}

.nbn-address-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nbn-address-input:focus {
    outline: none;
    border-color: var(--wild-teal);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(32, 214, 180, 0.1);
}

.nbn-address-input:focus + .nbn-floating-label,
.nbn-address-input:not(:placeholder-shown) + .nbn-floating-label {
    opacity: 1;
    transform: translateY(0);
    color: var(--wild-teal);
}

/* Search button */
.nbn-search-button-wrapper {
    display: flex;
    justify-content: center;
}

.nbn-search-button {
    padding: 1rem 3rem;
    background: var(--wild-gradient);
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.nbn-search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.nbn-search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.nbn-search-button:hover::before {
    left: 100%;
}

.nbn-search-button:active {
    transform: translateY(0);
}

/* Loading overlay dark theme */
.nbn-loading-overlay {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
}

.nbn-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Premium spinner with step indicator */
.nbn-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nbn-loading-steps {
    display: flex;
    gap: 1rem;
}

.nbn-loading-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wild-text-muted);
    transition: all 0.5s ease;
}

.nbn-loading-step.active {
    background: var(--wild-gradient);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
    animation: stepPulse 1s ease-in-out infinite;
}

.nbn-loading-step.completed {
    background: var(--wild-green);
    color: white;
}

.nbn-loading-step.completed::after {
    content: '✓';
    position: absolute;
    font-size: 2rem;
}

.nbn-loading-step.completed span {
    display: none;
}

@keyframes stepPulse {
    0%,
    100% {
        transform: scale(1.2);
    }

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

.nbn-loading-text {
    font-size: 1.25rem;
    color: var(--wild-text);
    font-weight: 600;
    text-align: center;
}

/* Results container dark theme */
.nbn-results-container {
    margin-top: 3rem;
}

/* Multiple addresses dark theme */
.nbn-multiple-addresses h2 {
    color: var(--wild-text);
}

.nbn-multiple-addresses p {
    color: var(--wild-text-muted);
}

/* Address cards dark theme */
.nbn-address-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--wild-text);
    transition: all 0.3s ease;
}

.nbn-address-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--wild-teal);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(32, 214, 180, 0.2);
}

.nbn-custom-radio {
    border-color: rgba(255, 255, 255, 0.3);
    background: transparent;
}

.nbn-address-radio:checked ~ .nbn-address-label .nbn-custom-radio {
    border-color: var(--wild-teal);
    background: var(--wild-teal);
}

.nbn-address-radio:checked ~ .nbn-address-label .nbn-custom-radio::after {
    background: white;
}

/* Select button dark theme */
.nbn-select-address-button {
    background: var(--wild-gradient);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.nbn-select-address-button:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Success message dark theme */
.nbn-qualification-success {
    background: rgba(62, 189, 96, 0.1);
    border-color: var(--wild-green);
}

.nbn-success-icon {
    background: var(--wild-green);
}

/* Error message dark theme */
.nbn-error-message {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--wild-coral);
    color: var(--wild-text);
}

.nbn-error-icon {
    background: var(--wild-coral);
}

/* Tooltip dark theme */
.nbn-tooltip {
    background: var(--wild-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info boxes with coral accent */
.nbn-info-box {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--wild-coral);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    color: var(--wild-text);
    font-size: 0.95rem;
    position: relative;
}

.nbn-info-box::before {
    content: '!';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--wild-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Parrot illustration hidden on mobile */

    .nbn-search-heading h1 {
        font-size: 2rem;
    }

    .nbn-step-label {
        display: none;
    }

    .nbn-progress-steps::before {
        left: 30%;
        right: 30%;
    }
}
