:root {
    --pd-navy: #0f172a;
    --pd-green: #557f6f;
    --pd-green-dark: #426b5d;
    --pd-gold: #e6b447;
    --pd-slate: #334155;
    --pd-muted: #64748b;
    --pd-line: #dbe3ef;
    --pd-bg: #f5f7fb;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--pd-navy);
}

* { box-sizing: border-box; }

.pd-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(230,180,71,.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(85,127,111,.18), transparent 32%),
        var(--pd-bg);
}

.pd-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.pd-login-card {
    width: min(430px, 100%);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(219,227,239,.95);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(15,23,42,.13);
    padding: 34px;
    backdrop-filter: blur(12px);
}

.pd-login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.pd-login-logo {
    width: 190px;
    max-width: 75%;
    height: auto;
    display: block;
}

.pd-login-title {
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--pd-navy);
}

.pd-login-subtitle {
    text-align: center;
    margin: 7px 0 26px;
    color: var(--pd-muted);
    font-size: 15px;
}

.pd-login-label {
    display: block;
    margin: 14px 0 8px;
    color: var(--pd-slate);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.pd-login-input {
    width: 100%;
    height: 50px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: #fff;
    padding: 0 15px;
    font-size: 15px;
    color: var(--pd-navy);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pd-login-input:focus {
    border-color: var(--pd-green);
    box-shadow: 0 0 0 4px rgba(85,127,111,.14);
}

.pd-login-button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 17px;
    margin-top: 22px;
    background: linear-gradient(135deg, var(--pd-green), var(--pd-green-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(85,127,111,.28);
    transition: transform .15s ease, box-shadow .15s ease;
}

.pd-login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(85,127,111,.34);
}

.pd-login-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    font-size: 14px;
}

.pd-login-links a {
    color: var(--pd-green-dark);
    text-decoration: none;
    font-weight: 800;
}

.pd-login-links a:hover { text-decoration: underline; }

.pd-login-error, .pd-login-info {
    border-radius: 15px;
    padding: 12px 14px;
    margin: 0 0 18px;
    font-weight: 800;
    line-height: 1.45;
}

.pd-login-error {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.pd-login-info {
    color: #365f51;
    border: 1px solid #c8e8dc;
    background: #ecfdf5;
}

@media (max-width: 520px) {
    .pd-login-shell { padding: 14px; align-items: flex-start; padding-top: 40px; }
    .pd-login-card { padding: 26px 20px; border-radius: 22px; }
    .pd-login-title { font-size: 27px; }
}
