@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.ws-login-wrapper {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ws-login-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    padding: 36px 32px 32px;
    box-sizing: border-box;
}

.ws-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ws-login-logo img {
    max-height: 56px;
    width: auto;
}

.ws-login-sitename {
    font-weight: 700;
    font-size: 22px;
    color: #111827;
}

.ws-login-heading {
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0 24px;
    text-align: left;
    color: #111827;
}

.ws-login-text {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 16px;
}

.ws-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ws-login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ws-login-field label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ws-login-field input[type="text"],
.ws-login-field input[type="password"] {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    background-color: #f9fafb;
}

.ws-login-field input[type="text"]:focus,
.ws-login-field input[type="password"]:focus {
    border-color: #ff914d;
    box-shadow: 0 0 0 1px rgba(255, 145, 77, 0.4);
    background-color: #ffffff;
}

.ws-login-links-row {
    display: flex;
    justify-content: flex-start;
    margin-top: -6px;
}

.ws-login-forgot {
    font-size: 13px;
    text-decoration: none;
    color: #2563eb;
}

.ws-login-forgot:hover {
    text-decoration: underline;
}

.ws-login-button {
    margin-top: 6px;
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #ff914d;
    color: #111827;
    box-shadow: 0 10px 25px rgba(255, 145, 77, 0.5);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
}

.ws-login-button:hover {
    background: #ff7a26;
    box-shadow: 0 14px 30px rgba(255, 122, 38, 0.6);
    transform: translateY(-1px);
}

.ws-login-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(255, 122, 38, 0.55);
}

.ws-login-register-row {
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
    color: #4b5563;
}

.ws-login-register-row a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.ws-login-register-row a:hover {
    text-decoration: underline;
}

.ws-login-error {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    border: 1px solid #fecaca;
}

/* Responsywność */
@media (max-width: 480px) {
    .ws-login-card {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }

    .ws-login-heading {
        font-size: 24px;
        text-align: center;
    }

    .ws-login-logo {
        margin-bottom: 8px;
    }
}
