/* ===================================================
   AUTH PAGES – Shared Stylesheet
   Usage: <link rel="stylesheet" href="{{ asset('V2/assets/css/auth.css') }}">
   =================================================== */

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- Background ---------- */
body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d6fe8 0%, #4a9ff5 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('/V2/assets/images/bg-pattern-1.jpg') center/cover no-repeat;
    mix-blend-mode: color-burn;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.bg-radial {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(0, 131, 255, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 131, 255, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* ---------- Card ---------- */
.card {
    background: #ffffff;
    border-radius: 10px;
    padding: 48px 44px 44px;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.18);
    animation: fadeUp .45s ease both;
    z-index: 1;
}

/* ---------- Card: Send Link ---------- */
.card-sendlink {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.18);
    animation: fadeUp .45s ease both;
    z-index: 1;
    text-align: center;
    padding-bottom: 36px;
}


.card-sendlink .person-placeholder {
    position: relative;
    z-index: 1;
    margin: 0 auto 28px;
    width: 100%;
    padding: 40px 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.card-sendlink .person-placeholder img {
    width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.card-sendlink h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    color: #0a1628;
    margin-bottom: 8px;
    padding: 0 24px;
}

.card-sendlink .subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 0;
    padding: 0 24px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Fingerprint Watermark ---------- */
.fingerprint-bg {
    position: absolute;
    top: 1px;
    right: -17px;
    width: 300px;
    height: 300px;
    opacity: 40%;
    pointer-events: none;
}

.fingerprint-bg-1 {
    position: absolute;
    top: -2px;
    right: -17px;
    width: 260px;
    height: 213px;
    opacity: 40%;
    pointer-events: none;
}

/* ---------- Typography ---------- */
h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    color: #0a1628;
    margin-bottom: 6px;
    position: relative;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #64748b;
    margin-bottom: 32px;
    position: relative;
}

/* ---------- Form ---------- */
.form-group {
    margin-bottom: 16px;
    position: relative;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 4px;
    font-size: .95rem;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

input::placeholder {
    color: #94a3b8;
}

/* ---------- Password Toggle ---------- */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-pw {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}


.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 48px;
}

.password-wrapper::after {
    content: '';
    position: absolute;
    right: 48px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: transparent;
}

.toggle-pw {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    line-height: 1;
}

.toggle-pw:hover {
    color: #64748b;
}

/* ---------- Links ---------- */
.forgot-link {
    float: right;

    clear: both;
    margin-top: 10px;
    margin-bottom: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #64748b;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}

.forgot-link:hover {
    color: #2563eb;
}

/* ---------- Buttons ---------- */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: rgba(0, 131, 255, 1);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    margin-bottom: 14px;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-google {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: rgba(123, 123, 123, 1);
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s, box-shadow .2s;
    margin-bottom: 28px;
}

.btn-google:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07);
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* ---------- Register text ---------- */
.register-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #94a3b8;
}

.register-text a {
    color: rgba(0, 131, 255, 1);
    font-weight: 700;
    text-decoration: none;
}

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

/* ---------- Alerts ---------- */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: .88rem;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ---------- Card: Reset Link Sent ---------- */
.illustration-area {
    position: relative;
    padding: 48px 40px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.person-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.person-placeholder img {
    width: 220px;
    height: auto;
    display: block;
    object-fit: contain;
}

.content {
    padding: 28px 44px 40px;
    text-align: center;
}

/* ---------- Input Error ---------- */
.input-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .1) !important;
}

.input-error-msg {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
    text-align: right;
}



/* ---------- Btn disabled ---------- */
.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---------- Success Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeUp .3s ease both;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px 36px;
    text-align: center;
    max-width: 380px;
    width: 100%;
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #0083ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #0a1628;
    margin-bottom: 24px;
}

.modal-btn {
    display: block;
    text-decoration: none;
    text-align: center;
}