/* Import czcionki Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');
/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Ustawienie czcionki Montserrat w panelu logowania */
body.login,
body.login * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Styl logowania TIGER-X LP */
body.login {
    background-color: #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Usunięcie logo WordPressa */
body.login #login h1 {
    display: none;
}

/* Formularz */
body.login form {
    background-color: #282828;
    padding: 50px 55px 33px 55px;
    border-radius: 1px;
    box-shadow: 0px 4px 15px -5px rgba(0, 0, 0, 0.3);
    border: solid 0px #1f1f1f;
    position: relative;
    margin: 0;
}

body.login label {
    color: #ccc;
}

body.login #login_error,
body.login .message,
body.login .success {
    background-color: #1e1e1e;
    color: #ccc;
    border-left: 4px solid #ff5555;
    font-size: 12px;
}

/* Ukrycie tylko komunikatu błędu logowania */


/* 🔹 Przycisk LOGIN */
.wp-core-ui .button-primary {
    background-color: #1f1f1f;
    border-color: #1f1f1f;
    box-shadow: none;
    text-shadow: none;
    font-size: 18px;
    padding: 14px 0;
    height: auto;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
}

.wp-core-ui .button-primary:hover {
    background-color: #1f1f1f;
    border-color: #282828;
}

/* 🔹 Ukrycie linków */
#backtoblog,
#nav,
.privacy-policy-page-link {
    display: none !important;
}

/* 🔹 Pola tekstowe */
body.login form .input,
body.login input[type="text"],
body.login input[type="password"] {
    background-color: #1f1f1f;
    border: 1px solid #1f1f1f;
    color: #ffffff;
    border-radius: 1px;
    padding: 10px;
    font-size: 14px;
}

/* 🔹 Kolor pola po fokusie */
body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
    border-color: #1f1f1f;
    box-shadow: 0 0 5px #1f1f1f;
}

/* Checkbox „Zapamiętaj mnie” */
body.login #rememberme {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #1a1a1a;
    border-radius: 3px;
    background-color: #1a1a1a;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* Ikona po zaznaczeniu (tylko SVG w tle, kolor #ccc) */
body.login #rememberme:checked {
    content: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ccc' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.2 0z'/%3E%3C/svg%3E");
}

body.login #rememberme:focus {
    outline: none;
    box-shadow: 0 0 4px #1a1a1a;
}

/* 🔹 Ukrycie ikony "pokaż hasło" */
.login .button.wp-hide-pw {
    display: none !important;
}

#login form p {
    margin-bottom: 0;
    margin-top: 20px;
}

/* 🔹 Prawa autorskie pod przyciskiem LOGIN */
#loginform::after {
    content: "All rights reserved © 2022 - 2026 TIGER-X";
    display: block;
    text-align: center;
    color: #ccc;
    background: #1f1f1f;
    padding: 10px;
    font-size: 12px;
    width: 150%;
    /* height: 120%; */
    margin-top: 110px;
    border-radius: 1px;
    margin-left: -60px;
    /* margin-left: 10%; */
}

/* 🔹 Ikona na środku formularza */
#loginform::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: url('../images/tigerxicon.png') no-repeat center center;
    background-size: contain;
    opacity: 0.09;
    pointer-events: none;
}