﻿
:root {
    --pz-primary: #6366f1;
    --pz-primary-hover: #4f46e5;
    --pz-bg: #030712;
    --pz-glass: rgba(17, 24, 39, 0.7);
    --pz-border: rgba(255, 255, 255, 0.08);
    --pz-text: #f9fafb;
    --pz-text-dim: #9ca3af;
}

/* Background & Layout */
.pz-auth-wrapper {
    min-height: 100vh;
    background-color: var(--pz-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.pz-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.4;
}

.pz-orb--1 {
    width: 400px;
    height: 400px;
    background: var(--pz-primary);
    top: -100px;
    left: -100px;
}

.pz-orb--2 {
    width: 300px;
    height: 300px;
    background: #a855f7;
    bottom: -50px;
    right: -50px;
}

.pz-card-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 460px;
    animation: pz-slide-up 0.6s ease-out;
}

.pz-glass-card {
    background: var(--pz-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--pz-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Typography & Branding */
.pz-header {
    text-align: center;
    margin-bottom: 32px;
}

.pz-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pz-logo-box {
    background: var(--pz-primary);
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.pz-logo-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--pz-text);
}

.pz-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--pz-text);
    margin-bottom: 8px;
}

.pz-subtitle {
    color: var(--pz-text-dim);
    font-size: 14px;
}

/* Social buttons & Divider */
.pz-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.pz-social-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--pz-border);
    color: var(--pz-text);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    transition: 0.2s;
}

    .pz-social-btn:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(255,255,255,0.2);
    }

.pz-divider {
    text-align: center;
    border-bottom: 1px solid var(--pz-border);
    line-height: 0.1em;
    margin: 24px 0;
}

    .pz-divider span {
        background: #0f1422;
        padding: 0 15px;
        color: var(--pz-text-dim);
        font-size: 12px;
    }

/* Form Fields */
.pz-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pz-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pz-input-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--pz-text-dim);
}

.pz-forgot-link {
    font-size: 12px;
    color: var(--pz-primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

    .pz-forgot-link:hover {
        color: #818cf8;
        text-decoration: underline;
    }

.pz-input-wrapper {
    position: relative;
}

    .pz-input-wrapper input {
        width: 100%;
        background: rgba(255,255,255,0.05);
        border: 1px solid var(--pz-border);
        padding: 12px 16px;
        border-radius: 12px;
        color: white;
        font-size: 14px;
        transition: 0.2s;
    }

        .pz-input-wrapper input:focus {
            outline: none;
            border-color: var(--pz-primary);
            background: rgba(99, 102, 241, 0.05);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

.pz-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--pz-text-dim);
    cursor: pointer;
}

/* Primary Button */
.pz-submit-btn {
    /*background: var(--pz-primary);*/
    background: #0EA5E9;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
    margin-top: 10px;
}

    .pz-submit-btn:hover {
        background: var(--pz-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
    }

    .pz-submit-btn svg {
        transition: transform 0.2s;
    }

    .pz-submit-btn:hover svg {
        transform: translateX(3px);
    }

.pz-card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--pz-text-dim);
}

    .pz-card-footer a {
        color: var(--pz-primary);
        font-weight: 600;
        text-decoration: none;
    }

        .pz-card-footer a:hover {
            text-decoration: underline;
        }

@keyframes pz-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .pz-glass-card {
        padding: 30px 20px;
    }
}

.pz-logo-box {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* remove old background */
    border-radius: 10px;
    overflow: hidden;
}

    .pz-logo-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
