/* === VARIABLES & RESET === */
:root {
    --primary-color: #ffffff;
    --secondary-color: #888888;
    --accent-color: #ff1744;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #aaaaaa;
    --border-color: #444444;
    --warning-color: #ffaa00;
    --error-color: #ff0000;
    --success-color: #00ff00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* === LOGIN PAGE === */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: var(--bg-darker);
}

/* Animated Background */
.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.animated-bg,
.animated-bg2 {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.animated-bg {
    top: -50%;
    left: -50%;
}

.animated-bg2 {
    bottom: -50%;
    right: -50%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.02) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #333333;
    border-radius: 20px;
    padding: 30px 30px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8),
                0 0 80px rgba(255, 255, 255, 0.05);
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.logo-icon {
    font-size: 4em;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--accent-color));
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.login-header h1 {
    font-size: 1.8em;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 8px;
    opacity: 0.9;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 45px 15px 16px;
    background: rgba(10, 15, 26, 0.8);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.95);
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    opacity: 0.5;
    pointer-events: none;
}

.btn-primary {
    padding: 12px 20px;
    background: linear-gradient(135deg, #333333, #1a1a1a);
    color: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #444444, #2a2a2a);
    border-color: #ff1744;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.3em;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.error-message {
    color: var(--error-color);
    background: rgba(255, 68, 68, 0.15);
    border: 2px solid var(--error-color);
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    display: none;
    font-weight: 600;
}

.error-message.show {
    display: block;
    animation: shake 0.5s, fadeIn 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 25px;
    position: relative;
}

.footer-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #444444, transparent);
    margin-bottom: 15px;
    opacity: 0.5;
}

.login-footer p {
    color: var(--text-muted);
    font-size: 0.9em;
    opacity: 0.7;
}

/* === NAVBAR === */
.navbar {
    background: var(--bg-card);
    border-bottom: 2px solid #333333;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    font-size: 1.8em;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.nav-subtitle {
    color: var(--text-muted);
    font-size: 0.9em;
}

.btn-logout {
    padding: 10px 20px;
    background: rgba(255, 68, 68, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-logout:hover {
    background: var(--error-color);
    color: white;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.5),
                0 0 30px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.7),
                0 0 45px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #7289DA, #5865F2);
}

/* === MAIN LAYOUT === */
.main-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
}

/* === SIDEBAR === */
.sidebar {
    width: 250px;
    background: var(--bg-card);
    border-right: 2px solid var(--secondary-color);
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--bg-hover);
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2), rgba(211, 47, 47, 0.2));
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link-support {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
    border-left: 3px solid #ffd700;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.nav-link-support:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 193, 7, 0.15));
    border-left-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.nav-link-support.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 193, 7, 0.2));
    border-left-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.nav-icon {
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

/* Séparateurs de navigation */
.nav-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0.75rem 0;
    opacity: 0.3;
}

.nav-label {
    color: var(--text-muted);
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    opacity: 0.6;
}

/* Logos des services */
.service-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.status-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.status-card-header h3 {
    margin: 0;
}

/* === CONTENT === */
.content {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.service-section {
    display: none;
}

.service-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #333333;
}

.section-header h2 {
    font-size: 1.75em;
    color: var(--text-primary);
    text-shadow: none;
}

/* === CARDS === */
.card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.4));
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #444444;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.card h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.card ul, .card ol {
    margin-left: 2rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.card li {
    margin-bottom: 0.5rem;
}

.card.highlight {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 217, 255, 0.1));
}

.card.support-intro {
    border: 2px solid #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4),
                0 0 50px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
}

.support-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(255, 193, 7, 0.01));
    border-radius: 15px;
    padding: 20px;
    margin: -10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.support-header h2 {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.card.warning {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1), rgba(255, 136, 0, 0.1));
}

/* === LINKS === */
.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.link-primary:hover {
    border-bottom-color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.6);
}

/* === UTILITIES === */
.note {
    background: rgba(0, 136, 204, 0.2);
    border-left: 4px solid var(--secondary-color);
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.95em;
}

.important {
    background: rgba(0, 255, 0, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 10px 15px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 600;
}

.warning {
    color: var(--warning-color);
    font-weight: 600;
}

code {
    background: rgba(0, 20, 0, 0.8);
    color: #00ff41;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    border: 1px solid #00aa00;
    text-shadow: 0 0 5px #00ff41;
}

.credentials {
    background: rgba(0, 15, 0, 0.5);
    border: 1px solid #00aa00;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}

.password-reveal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-reveal {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-reveal:hover {
    background: rgba(0, 255, 65, 0.15);
}

/* === FOOTER === */
.footer {
    background: var(--bg-card);
    border-top: 2px solid var(--secondary-color);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

/* === RESPONSIVE === */

/* Tablettes */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-brand h1 {
        font-size: 1.6em;
    }

    .nav-subtitle {
        font-size: 0.85em;
    }

    .content {
        padding: 1.5rem;
    }
}

/* Tablettes et petits écrans */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 2px solid var(--secondary-color);
        padding: 0;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.5rem;
        scrollbar-width: thin;
    }

    .nav-link {
        flex-direction: column;
        min-width: 100px;
        text-align: center;
        padding: 12px 8px;
        font-size: 0.85em;
    }

    .nav-icon {
        font-size: 1.3em;
        margin-bottom: 4px;
    }

    .nav-link span:not(.nav-icon) {
        font-size: 0.8em;
        line-height: 1.2;
    }

    .content {
        padding: 1.5rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 1.6em;
        margin-bottom: 0.5rem;
    }

    .btn-refresh {
        width: 100%;
        padding: 12px;
    }

    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nav-logo {
        width: 40px;
        height: 40px;
    }

    .nav-brand h1 {
        font-size: 1.3em;
    }

    .nav-subtitle {
        font-size: 0.75em;
        line-height: 1.4;
    }

    .btn-logout {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .login-box {
        padding: 30px 25px;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .login-header h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .card {
        padding: 1.25rem;
    }

    .status-card {
        padding: 1.5rem;
    }

    .status-card h3 {
        font-size: 1.3em;
    }

    .support-section {
        padding: 1.5rem;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    .navbar {
        padding: 0.4rem 0.5rem;
    }

    .nav-brand {
        gap: 8px;
    }

    .nav-brand h1 {
        font-size: 0.95em;
        letter-spacing: 0.3px;
        line-height: 1.2;
    }

    .nav-subtitle {
        display: none; /* Masquer complètement la description sur mobile */
    }

    .nav-logo {
        width: 28px;
        height: 28px;
    }

    .btn-logout {
        padding: 4px 8px;
        font-size: 0.75em;
    }

    .content {
        padding: 0.75rem 0.5rem;
    }

    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.25em;
    }

    .card {
        padding: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .card h3 {
        font-size: 1.1em;
        margin-bottom: 0.65rem;
    }

    .card p, .card li {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .card ul, .card ol {
        margin-left: 1.1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .status-card {
        padding: 1rem;
    }

    .status-card h3 {
        font-size: 1.1em;
        margin-bottom: 1rem;
    }

    .status-indicator {
        padding: 6px 12px;
        font-size: 0.85em;
        margin-bottom: 1rem;
    }

    .status-dot {
        width: 10px;
        height: 10px;
    }

    .status-url {
        font-size: 0.75em;
        padding: 8px 10px;
    }

    .status-details {
        font-size: 0.8em;
        padding-top: 1rem;
    }

    .status-grid {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .login-box {
        padding: 20px 15px;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .login-header {
        margin-bottom: 18px;
    }

    .login-header h1 {
        font-size: 1.3em;
    }

    .subtitle {
        font-size: 0.8em;
        margin-top: 5px;
    }

    .btn-primary {
        padding: 10px 16px;
        font-size: 0.9em;
    }

    .form-group {
        gap: 6px;
    }

    .login-form {
        gap: 15px;
    }

    .login-footer {
        margin-top: 15px;
        padding-top: 15px;
    }

    .login-footer p {
        font-size: 0.8em;
    }

    .credentials {
        padding: 0.75rem;
        font-size: 0.85em;
    }

    .credentials code {
        font-size: 0.9em;
    }

    .support-section {
        padding: 1.25rem;
    }

    .support-intro {
        padding: 1rem;
    }

    .sidebar-nav {
        gap: 0.2rem;
        padding: 0.4rem 0.2rem;
    }

    .nav-link {
        min-width: 75px;
        padding: 8px 5px;
        font-size: 0.8em;
    }

    .nav-icon {
        font-size: 1.2em;
        margin-bottom: 2px;
    }

    .sidebar {
        padding: 0;
    }
}

/* === STATUS PAGE === */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-refresh {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.3);
}

.btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 23, 68, 0.5),
                0 0 30px rgba(255, 23, 68, 0.3);
}

.btn-refresh:active {
    animation: spin 0.5s ease;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.status-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.5));
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #666666, #888888);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    border-color: #444444;
}

.status-card:hover::before {
    opacity: 1;
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    border-color: var(--primary-color);
}

.status-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
    letter-spacing: 0.5px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    width: 100%;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.status-indicator[data-status="online"] {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 200, 0, 0.2));
    border: 2px solid var(--success-color);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.status-indicator[data-status="online"] .status-dot {
    background: var(--success-color);
    box-shadow: 0 0 15px var(--success-color), 0 0 30px rgba(0, 255, 0, 0.5);
    animation: pulse 2s infinite;
}

.status-indicator[data-status="online"] .status-text {
    color: var(--success-color);
}

.status-indicator[data-status="offline"] {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.3), rgba(200, 0, 0, 0.2));
    border: 2px solid var(--error-color);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.status-indicator[data-status="offline"] .status-dot {
    background: var(--error-color);
    box-shadow: 0 0 15px var(--error-color), 0 0 30px rgba(255, 68, 68, 0.5);
}

.status-indicator[data-status="offline"] .status-text {
    color: var(--error-color);
}

.status-indicator[data-status="checking"] {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.3), rgba(255, 136, 0, 0.2));
    border: 2px solid var(--warning-color);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.2);
}

.status-indicator[data-status="checking"] .status-dot {
    background: var(--warning-color);
    box-shadow: 0 0 15px var(--warning-color);
    animation: blink 1.5s infinite;
}

.status-indicator[data-status="checking"] .status-text {
    color: var(--warning-color);
}

.status-indicator[data-status="error"] {
    background: linear-gradient(135deg, rgba(170, 170, 170, 0.3), rgba(100, 100, 100, 0.2));
    border: 2px solid var(--text-muted);
}

.status-indicator[data-status="error"] .status-dot {
    background: var(--text-muted);
}

.status-indicator[data-status="error"] .status-text {
    color: var(--text-muted);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.status-url {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 1.5rem;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    overflow-wrap: break-word;
    hyphens: auto;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.status-url:hover {
    background: rgba(255, 23, 68, 0.1);
    border-left-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateX(3px);
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.2);
}

.status-details {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
    border-top: 2px solid rgba(255, 23, 68, 0.3);
    font-size: 0.9em;
    color: var(--text-muted);
    font-style: italic;
}

.status-details strong {
    color: var(--primary-color);
}

/* === CARDS === */.status-details strong {
    color: var(--primary-color);
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
