/* Background global */
body.login {
    background-color: #0C1117;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Glow principal */
body.login::before {
    content: "";
    position: fixed;
    width: 1200px;
    height: 1200px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: radial-gradient(
        1200px 1200px at 50% 40%,
        rgba(0, 161, 221, 0.25),
        transparent 60%
    );

    filter: blur(80px);
    z-index: -2;
}
body.login::before {
    animation: floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    from {
        transform: translate(-50%, -55%) scale(1);
    }
    to {
        transform: translate(-48%, -45%) scale(1.1);
    }
}
/* Glow secondaire subtil (profondeur) */
body.login::after {
    content: "";
    position: fixed;
    width: 800px;
    height: 800px;
    bottom: -200px;
    right: -200px;

    background: radial-gradient(
        circle,
        rgba(0, 113, 227, 0.15),
        transparent 70%
    );

    filter: blur(100px);
    z-index: -2;
}

/* Container glass */
#login {
    background: rgba(20, 25, 32, 0.55);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    
    border-radius: 24px;
    padding: 50px 40px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
/* Form */
#loginform {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
#loginform {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 20px;
}
.login label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
    display: block;
}
.login .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login .forgetmenot label {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.login #nav,
.login #backtoblog {
    text-align: center;
    margin-top: 20px;
}

.login #nav a,
.login #backtoblog a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: rgba(0,161,221,0.9);
}
.login .message,
.login .error {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #0ea5e9;

    border-radius: 12px;
    padding: 12px;
    color: #fff;
}
#loginform p {
    transition: transform 0.2s ease;
}

#loginform p:focus-within {
    transform: scale(1.02);
}

.login input[type="text"],
.login input[type="password"] {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;

    border-radius: 14px;
    padding: 14px;
    transition: all 0.25s ease;
}

.login input::placeholder {
    color: rgba(255,255,255,0.4);
}

.login input:focus {
    background: rgba(255,255,255,0.08);
    border-color: rgba(0,161,221,0.6);
    box-shadow: 0 0 0 2px rgba(0,161,221,0.3);
    outline: none;
}
.login h1 a {
    background-image: url('https://seonova.fr/wp-content/uploads/2026/03/SEONOVAWELOGO.png');
    background-size: contain;
    width: 100%;
}


/.wp-core-ui .button-primary {
    background: linear-gradient(180deg, #0ea5e9, #0071e3);
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-weight: 500;
    color: white;

    transition: all 0.25s ease;
}

.wp-core-ui .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,161,221,0.35);
}
/** ** ADMIN DASH **/
body.wp-admin {
    background-color: #0C1117;
}
#adminmenu, #adminmenuwrap {
    background: rgba(20, 25, 32, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255,255,255,0.05);
}

#adminmenu a {
    color: rgba(255,255,255,0.7);
}

#adminmenu .wp-has-current-submenu,
#adminmenu .wp-menu-hover {
    background: rgba(0,161,221,0.15);
}
#wpadminbar {
    background: rgba(20, 25, 32, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wrap,
.postbox,
.card {
    background: rgba(20, 25, 32, 0.55);
    backdrop-filter: blur(25px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
input, select, textarea {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
}

.wp-list-table {
    background: transparent;
    color: #fff;
}
.button-primary {
    background: linear-gradient(180deg, #0ea5e9, #0071e3) !important;
    border: none !important;
    border-radius: 10px !important;
}
body.wp-admin::before {
    content: "";
    position: fixed;
    width: 1000px;
    height: 1000px;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: radial-gradient(
        1000px 1000px at 50% 40%,
        rgba(0,161,221,0.15),
        transparent 60%
    );

    filter: blur(100px);
    z-index: -1;
}