* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a3e 50%, #0f0f1e 100%);
    color: #fff;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 900px;
    width: 100%;
}

h1 {
    text-align: center;
    color: #00ffcc;
    margin-bottom: 8px;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.6),
                 0 0 40px rgba(0, 255, 204, 0.3);
    letter-spacing: 2px;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 204, 0.6), 0 0 40px rgba(0, 255, 204, 0.3); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 204, 0.8), 0 0 60px rgba(0, 255, 204, 0.5); }
}

h4 {
    text-align: center;
    color: #b0b0ff;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 400;
    letter-spacing: 1px;
}

.input-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.billing-input {
    background: rgba(26, 26, 50, 0.6);
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 12px;
    padding: 12px 20px;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    width: 300px;
    outline: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
}

.billing-input:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}


.status-msg {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 600;
    display: none; /* Hidden by default */
    animation: slideDown 0.3s ease-out;
}

.status-msg.success {
    display: block;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.4);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-msg.error {
    display: block;
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.4);
}

.error-banner {
    color: #ffaa00;
    text-align: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1) 0%, rgba(255, 100, 0, 0.05) 100%);
    border: 1px solid rgba(255, 170, 0, 0.4);
    border-radius: 12px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 26, 50, 0.6);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 8px 32px rgba(0, 255, 204, 0.1), 0 0 40px rgba(0, 0, 0, 0.5);
}

th {
    background: linear-gradient(90deg, #00cc99 0%, #00ffcc 100%);
    color: #000;
    font-weight: 700;
    padding: 18px 15px;
    text-align: center;
    font-size: 1.05em;
    text-transform: uppercase;
}

td {
    padding: 16px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    font-weight: 500;
}

tbody tr:hover {
    background-color: rgba(0, 255, 204, 0.15);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.node-name {
    font-weight: 600;
    color: #e0e0ff;
}


.up {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 136, 0.4);
    position: relative;
}

.up::before {
    content: '●';
    margin-right: 8px;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.down {
    color: #ff3366;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.8);
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 51, 102, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(255, 51, 102, 0.4);
    position: relative;
}

.down::before {
    content: '●';
    margin-right: 8px;
    animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}




.select-btn {
    color: #00ff88;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    cursor: pointer;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 136, 0.4);
    transition: all 0.2s ease;
    font-family: inherit;
}

.select-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    transform: scale(1.05);
}

.select-btn::before {
    content: '●';
    margin-right: 8px;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    body { padding: 30px 15px; }
    .billing-input { width: 100%; }
    h1 {
        font-size: 2em;
    }

    h4 {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    th, td {
        padding: 14px 12px;
        font-size: 0.95em;
    }

    th {
        font-size: 0.95em;
    }

    .up, .down {
        padding: 5px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6em;
        letter-spacing: 1px;
    }

    th, td {
        padding: 12px 10px;
        font-size: 0.9em;
    }

    .up, .down {
        padding: 4px 8px;
        font-size: 0.85em;
    }
}

.select-btn:disabled {
    background: rgba(100, 100, 100, 0.3);
    color: #888;
    border-color: #555;
    cursor: not-allowed;
    text-shadow: none;
}

.select-btn:disabled::before {
    animation: none;
    opacity: 0.5;
}


.cta-button {
    display: inline-block;
    margin: 20px auto;
    padding: 15px 40px;
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #00ffcc;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.cta-button:hover {
    background: #00ffcc;
    color: #0a0e27;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.8);
    text-shadow: none;
    transform: translateY(-3px);
}

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

/* Wrapper to ensure the button is centered in the flex body */
.button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

