* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;

    background: #f4f6f9;
}

.login-box {
    width: 400px;
    max-width: calc(100% - 30px);

    background: #fff;

    padding: 35px;

    border-radius: 14px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.login-title {
    text-align: center;
    margin-bottom: 28px;
}

.login-title h1 {
    margin: 0;

    font-size: 28px;

    color: #111827;
}

.login-title p {
    margin: 8px 0 0;

    color: #6b7280;

    font-size: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 600;

    color: #374151;
}

.form-group input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    font-size: 15px;

    outline: none;
}

.form-group input:focus {
    border-color: #2563eb;
}

.login-btn {
    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}

.login-btn:hover {
    background: #1d4ed8;
}

.error {
    background: #fee2e2;

    color: #b91c1c;

    border: 1px solid #fecaca;

    padding: 11px;

    border-radius: 8px;

    margin-bottom: 18px;

    font-size: 14px;

    text-align: center;
}

.footer-text {
    text-align: center;

    margin-top: 20px;

    font-size: 12px;

    color: #9ca3af;
}


.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 50px;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 20px;
    padding: 5px;

    color: #555;
}

.password-toggle:hover {
    color: #000;
}