﻿/* =============================================
   Lokbazar — Forgot Password Stylesheet
   Matches Login Page Design Language
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    background: #f4f6f4;
}

/* ── Page Layout ── */
.page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* ── Left Brand Panel ── */
.brand-panel {
    background: #0a5c4a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

    .brand-panel::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .brand-panel::after {
        content: '';
        position: absolute;
        bottom: -60px;
        left: -60px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
    }

.brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.brand-logo img {
    /*width: 158px;
    height: 170px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 11px;
    border: 2px solid rgba(255, 255, 255, 0.2);*/
    width: 158px;
    height: 170px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 11px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.8;
}

.dot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
    opacity: 0.18;
}

    .dot-grid span {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ffffff;
    }

/* ── Right Form Panel ── */
.form-panel {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
}

.form-inner {
    width: 100%;
    max-width: 380px;
}

/* ── Lock Icon ── */
.lock-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #e8f5f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0a5c4a;
    margin-bottom: 24px;
}

/* ── Form Header ── */
.form-header {
    margin-bottom: 32px;
}

.welcome-text {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.form-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ── Field Group ── */
.field-group {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-icon {
    position: absolute;
    top: 11px;
    left: 13px;
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.field-input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .field-input:focus {
        border-color: #0a5c4a;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(10, 92, 74, 0.1);
    }

    .field-input::placeholder {
        color: #bbb;
    }

.field-error {
    display: block;
    color: #c0392b;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 2px;
}

/* ── Error Message ── */
.msg-error {
    display: block;
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: #fdf2f2;
    border-radius: 8px;
    border-left: 3px solid #c0392b;
}

/* ── Submit Button ── */
.btn-submit {
    width: 100%;
    padding: 13px;
    background: #0a5c4a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .btn-submit:hover {
        background: #084f3f;
    }

    .btn-submit:active {
        transform: scale(0.99);
    }

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #ccc;
    font-size: 12px;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-top: 1px solid #ececec;
    }

/* ── Back to Login ── */
.back-link {
    text-align: center;
}

.back-login {
    font-size: 13px;
    color: #0a5c4a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

    .back-login:hover {
        color: #084f3f;
        text-decoration: underline;
    }

    .back-login i {
        font-size: 11px;
        margin-right: 4px;
    }

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-wrapper {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 40px 24px;
        min-height: 200px;
    }

    .brand-inner {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .brand-logo img {
        width: 70px;
        height: 70px;
    }

    .brand-name {
        font-size: 20px;
    }

    .dot-grid {
        display: none;
    }

    .form-panel {
        padding: 40px 24px;
    }
}

@media (max-width: 400px) {
    .brand-inner {
        flex-direction: column;
        text-align: center;
    }
}
