﻿/* cyber-theme.css */

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
    
}

.mud-main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.cyber-background {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto; 
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

    .cyber-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, #00ffff0a 0%, transparent 50%), radial-gradient(circle at 75% 75%, #ff00ff0a 0%, transparent 50%);
        animation: pulse 4s ease-in-out infinite alternate;
    }

@keyframes pulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.7;
    }
}

.cyber-card {
    background: rgba(15, 15, 35, 0.9) !important;
    border: 1px solid #00ffff !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

    .cyber-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #00ffff, transparent);
        animation: scan 3s linear infinite;
    }

@keyframes scan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.cyber-title {
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-align: center;
}

.cyber-subtitle {
    color: #ff00ff !important;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.6);
    font-family: 'Courier New', monospace;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.mud-input-control .mud-input {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid #333 !important;
    color: #00ffff !important;
    transition: all 0.3s ease;
}

    .mud-input-control .mud-input:focus {
        border-color: #00ffff !important;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
    }

.mud-input-label {
    color: #888 !important;
    font-family: 'Courier New', monospace;
}

    .mud-input-label.mud-input-label-inputcontrol {
        color: #00ffff !important;
    }

.cyber-button {
    background: linear-gradient(45deg, #00ffff, #0080ff) !important;
    color: #000 !important;
    font-weight: bold !important;
    font-family: 'Courier New', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    height: 48px !important;
    margin-top: 1rem !important;
}

    .cyber-button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 25px rgba(0, 255, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
    }

.verification-panel {
    background: rgba(0, 20, 0, 0.9) !important;
    border: 1px solid #00ff00 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 20px rgba(0, 255, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem;
}

.verification-title {
    color: #00ff00 !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin-bottom: 1rem;
}

.verification-message {
    color: #ffffff !important;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cyber-link {
    color: #00ffff !important;
    text-decoration: none !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    transition: all 0.3s ease;
}

    .cyber-link:hover {
        color: #ff00ff !important;
        text-shadow: 0 0 5px rgba(255, 0, 255, 0.8);
    }

.loading-dots::after {
    content: '';
    animation: dots 2s linear infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%, 100% {
        content: '...';
    }
}

.cyber-form-field {
    margin-bottom: 1rem;
    z-index: 10;
}

.cyber-form-field label,
.form-label {
    color: #00ff00 !important; /* Brighter green for labels */
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
    display: block;
}

.cyber-form-field input[type="text"],
.cyber-form-field input[type="email"],
.cyber-form-field input[type="password"],
.cyber-form-field textarea {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid #00ffff !important;
    color: #00ffff !important; /* Bright cyan for input text */
    transition: all 0.3s ease;
}

.cyber-form-field input[type="text"]:focus,
.cyber-form-field input[type="email"]:focus,
.cyber-form-field input[type="password"]:focus,
.cyber-form-field textarea:focus {
    border-color: #00ff00 !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important;
}

.cyber-footer-text {
    color: #00ffff; /* Ensure footer text is also bright */
    font-family: 'Courier New', monospace;
}

.verification-email {
    color: #00ffff !important;
    font-weight: bold;
}

.verification-instructions {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.success-button {
    background: linear-gradient(45deg, #00ff00, #00aa00) !important;
}

.cyber-password-requirements {
    color: #ffffff !important; /* Make password requirements text white */
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    margin-top: 1rem;
    text-align: left;
}

.cyber-password-requirements ul {
    list-style-type: none;
    padding-left: 0;
}

.cyber-password-requirements li {
    margin-bottom: 0.3rem;
}

.cyber-success-message {
    background: rgba(0, 30, 0, 0.9) !important;
    border: 1px solid #00ff00 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4), inset 0 0 20px rgba(0, 255, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    color: #00ff00 !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
    padding: 1rem 1.5rem !important;
    margin: 1rem 0 !important;
    position: relative;
    overflow: hidden;
    animation: successGlow 2s ease-in-out infinite alternate;
}

    .cyber-success-message::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #00ff00, transparent);
        animation: successScan 3s linear infinite;
    }

    .cyber-success-message::after {
        content: '✓ ';
        position: absolute;
        left: 0.5rem; /* Adjusted from 1rem to 0.5rem */
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2em;
        color: #00ff00;
        text-shadow: 0 0 10px rgba(0, 255, 0, 1);
    }

.cyber-success-message-text {
    margin-left: 2rem;
    display: inline-block;
}

@keyframes successGlow {
    0% {
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.4), inset 0 0 20px rgba(0, 255, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.6), inset 0 0 25px rgba(0, 255, 0, 0.2);
    }
}

@keyframes successScan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.cyber-error-message {
    background: rgba(30, 0, 0, 0.9) !important;
    border: 1px solid #ff0040 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.4), inset 0 0 20px rgba(255, 0, 64, 0.1) !important;
    backdrop-filter: blur(10px);
    color: #ff0040 !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    text-shadow: 0 0 8px rgba(255, 0, 64, 0.8);
    padding: 1rem 1.5rem !important;
    margin: 1rem 0 !important;
    position: relative;
    overflow: hidden;
    animation: errorGlow 2s ease-in-out infinite alternate;
}

    .cyber-error-message::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #ff0040, transparent);
        animation: errorScan 2s linear infinite;
    }

    .cyber-error-message::after {
        content: '⚠ ';
        position: absolute;
        left: 0.5rem; /* Adjusted from 1rem to 0.5rem */
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2em;
        color: #ff0040;
        text-shadow: 0 0 10px rgba(255, 0, 64, 1);
        animation: errorPulse 1s ease-in-out infinite alternate;
    }

.cyber-error-message-text {
    margin-left: 2rem;
    display: inline-block;
}

@keyframes errorGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 64, 0.4), inset 0 0 20px rgba(255, 0, 64, 0.1);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 0, 64, 0.6), inset 0 0 25px rgba(255, 0, 64, 0.2);
    }
}

@keyframes errorScan {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes errorPulse {
    0% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}

/* Table-specific additions to complement your existing cyber theme */

.cyber-table-header {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 100, 255, 0.1) 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.cyber-table-title {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: bold;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.title-prefix {
    color: #ff00ff;
    animation: prefixPulse 2s ease-in-out infinite;
}

@keyframes prefixPulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.cyber-table-container {
    padding: 2rem;
    overflow-x: auto;
}

.cyber-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 20, 40, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
    font-family: 'Courier New', monospace;
}

    .cyber-data-table thead {
        background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 100, 255, 0.2) 100%);
    }

    .cyber-data-table th {
        padding: 1.2rem 1.5rem;
        font-weight: bold;
        font-size: 0.9rem;
        color: #00ffff;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-align: left;
        border-bottom: 2px solid #00ffff;
        position: relative;
    }

    .cyber-data-table tbody tr {
        background: rgba(0, 30, 60, 0.4);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    }

        .cyber-data-table tbody tr:hover {
            background: rgba(0, 255, 255, 0.1);
            transform: translateX(5px);
            box-shadow: -5px 0 15px rgba(0, 255, 255, 0.2);
        }

    .cyber-data-table td {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
        color: #e0e0e0;
        font-weight: normal;
    }

.table-status-active {
    color: #00ff00 !important;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    text-transform: uppercase;
}

.table-status-expired {
    color: #ff0040 !important;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 0, 64, 0.6);
    text-transform: uppercase;
}

.table-amount {
    color: #00ffff !important;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.table-date-cell {
    color: #b0b0b0;
    font-family: 'Courier New', monospace;
}

.table-type-cell {
    color: #ff00ff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-no-data {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-style: italic;
    font-family: 'Courier New', monospace;
}

    .table-no-data::before {
        content: '⚠ ';
        color: #ff00ff;
        font-size: 1.2rem;
    }

/* Responsive adjustments for tables */
@media (max-width: 768px) {
    .cyber-data-table {
        font-size: 0.8rem;
    }

        .cyber-data-table th,
        .cyber-data-table td {
            padding: 0.8rem;
        }

    .cyber-table-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}