{% extends 'hosting_app/base_hosting.html' %}

{% block title %}Reset Email Sent | Host in Sri Lanka{% endblock %}

{% block content %}

<style>
    /* =========================================================
       HOSTING CLIENT PASSWORD RESET DONE — PREMIUM
    ========================================================= */

    .hosting-client-reset-status-page {
        position: relative;
        min-height: 100vh;
        padding: 6rem 0;
        background:
            radial-gradient(circle at top left, rgba(255, 193, 7, 0.20), transparent 34%),
            radial-gradient(circle at bottom right, rgba(138, 57, 45, 0.18), transparent 32%),
            linear-gradient(135deg, #2d1716 0%, #743129 52%, #a7601b 100%);
        color: #ffffff;
        overflow: hidden;
    }

    .hosting-client-reset-status-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 35%),
            radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.10), transparent 28%);
        pointer-events: none;
    }

    .hosting-client-reset-status-page::after {
        content: "";
        position: absolute;
        right: -160px;
        bottom: -180px;
        width: 480px;
        height: 480px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        pointer-events: none;
    }

    .hosting-client-reset-status-page .container {
        position: relative;
        z-index: 2;
    }

    .hosting-client-status-card {
        max-width: 820px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 36px;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }

    .hosting-client-status-top {
        padding: 1.35rem 1.6rem;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.12), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
        border-bottom: 1px solid #efe2d3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hosting-client-brand {
        display: flex;
        align-items: center;
        gap: 0.85rem;
    }

    .hosting-client-brand-icon {
        width: 48px;
        height: 48px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #321816, #a7601b);
        color: #ffffff;
        font-size: 1.35rem;
        box-shadow: 0 12px 26px rgba(167, 96, 27, 0.18);
    }

    .hosting-client-brand strong {
        display: block;
        color: #2d1716;
        font-weight: 950;
        line-height: 1.15;
    }

    .hosting-client-brand span {
        display: block;
        color: #7a655d;
        font-size: 0.84rem;
        font-weight: 750;
    }

    .hosting-client-status-badge-top {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.5rem 0.9rem;
        border-radius: 999px;
        background: #fffbeb;
        border: 1px solid #fde68a;
        color: #92400e;
        font-size: 0.82rem;
        font-weight: 900;
    }

    .hosting-client-status-card-inner {
        padding: 3rem 2.4rem;
        text-align: center;
    }

    .hosting-client-status-icon {
        width: 104px;
        height: 104px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 38px;
        background:
            radial-gradient(circle at top right, rgba(255, 193, 7, 0.22), transparent 35%),
            linear-gradient(135deg, #fff4e4, #ffe7aa);
        color: #a7601b;
        font-size: 2.9rem;
        box-shadow: 0 18px 36px rgba(167, 96, 27, 0.16);
        margin-bottom: 1.35rem;
    }

    .hosting-client-status-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.48rem 1rem;
        border-radius: 999px;
        background: #fff4e4;
        border: 1px solid #efd7ae;
        color: #a7601b;
        font-size: 0.84rem;
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .hosting-client-status-card h1 {
        color: #2f1d18;
        font-size: clamp(2rem, 4vw, 3.05rem);
        font-weight: 950;
        letter-spacing: -0.04em;
        margin-bottom: 1rem;
    }

    .hosting-client-status-card p {
        color: #6b564d;
        font-size: 1.02rem;
        line-height: 1.75;
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }

    .hosting-client-status-note {
        margin-top: 1.5rem;
        padding: 1.15rem 1.25rem;
        border-radius: 24px;
        background: #fffaf5;
        border: 1px solid #efd7ae;
        color: #8a5418;
        text-align: left;
        line-height: 1.65;
    }

    .hosting-client-status-note strong {
        color: #2d1716;
    }

    .hosting-client-next-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem;
        margin-top: 1.5rem;
        text-align: left;
    }

    .hosting-client-next-item {
        border-radius: 22px;
        padding: 1rem;
        background: #ffffff;
        border: 1px solid #eadbc9;
        box-shadow: 0 10px 24px rgba(58, 30, 24, 0.05);
    }

    .hosting-client-next-item i {
        color: #a7601b;
        font-size: 1.25rem;
        margin-bottom: 0.55rem;
    }

    .hosting-client-next-item strong {
        display: block;
        color: #2d1716;
        font-weight: 950;
        margin-bottom: 0.25rem;
    }

    .hosting-client-next-item span {
        display: block;
        color: #7a655d;
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .hosting-client-status-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.85rem;
        margin-top: 2rem;
    }

    .hosting-client-status-actions a {
        min-height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hosting-client-status-btn-primary {
        background: linear-gradient(135deg, #321816, #a7601b);
        color: #ffffff;
        border: none;
        border-radius: 999px;
        padding: 0.9rem 1.5rem;
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 16px 32px rgba(167, 96, 27, 0.24);
        transition: all 0.2s ease;
    }

    .hosting-client-status-btn-primary:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #4b211d, #bd741f);
        transform: translateY(-2px);
    }

    .hosting-client-status-btn-warning {
        background: linear-gradient(135deg, #ffc107, #df9219);
        color: #2d1716;
        border: none;
        border-radius: 999px;
        padding: 0.9rem 1.5rem;
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 16px 32px rgba(223, 146, 25, 0.22);
        transition: all 0.2s ease;
    }

    .hosting-client-status-btn-warning:hover {
        color: #2d1716;
        background: linear-gradient(135deg, #ffe082, #ffc107);
        transform: translateY(-2px);
    }

    .hosting-client-status-btn-outline {
        border: 2px solid #a7601b;
        color: #a7601b;
        background: #ffffff;
        border-radius: 999px;
        padding: 0.85rem 1.45rem;
        font-weight: 900;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .hosting-client-status-btn-outline:hover {
        background: #a7601b;
        color: #ffffff;
        transform: translateY(-2px);
    }

    @media (max-width: 991.98px) {
        .hosting-client-next-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .hosting-client-reset-status-page {
            padding: 4rem 0;
        }

        .hosting-client-status-card {
            border-radius: 28px;
        }

        .hosting-client-status-card-inner {
            padding: 2.2rem 1.35rem;
        }

        .hosting-client-status-top {
            padding: 1.15rem;
        }

        .hosting-client-status-actions {
            flex-direction: column;
            align-items: stretch;
        }

        .hosting-client-status-actions a {
            width: 100%;
        }
    }

    @media (max-width: 575.98px) {
        .hosting-client-reset-status-page .container {
            padding-left: 1.25rem !important;
            padding-right: 1.25rem !important;
        }
    }
</style>

<section class="hosting-client-reset-status-page">
    <div class="container">

        <div class="hosting-client-status-card">

            <div class="hosting-client-status-top">
                <div class="hosting-client-brand">
                    <div class="hosting-client-brand-icon">
                        <i class="bi bi-calendar-heart-fill"></i>
                    </div>

                    <div>
                        <strong>Host in Sri Lanka</strong>
                        <span>Hosting Client Password Reset</span>
                    </div>
                </div>

                <span class="hosting-client-status-badge-top">
                    <i class="bi bi-envelope-check-fill"></i>
                    Email Sent
                </span>
            </div>

            <div class="hosting-client-status-card-inner">

                <div class="hosting-client-status-icon">
                    <i class="bi bi-envelope-check-fill"></i>
                </div>

                <span class="hosting-client-status-badge">
                    <i class="bi bi-check-circle-fill"></i>
                    Request Received
                </span>

                <h1>Check your email</h1>

                <p>
                    If the email address belongs to a registered
                    <strong>Hosting Client</strong> account, password reset instructions
                    have been sent to that inbox.
                </p>

                <p>
                    Open the email and follow the secure reset link to create a new password
                    for your Hosting Client account.
                </p>

                <div class="hosting-client-status-note">
                    <strong>Didn’t receive an email?</strong><br>
                    Please check your spam or junk folder, confirm that you entered the correct
                    Hosting Client account email, or request a new password reset email.
                </div>

                <div class="hosting-client-next-grid">
                    <div class="hosting-client-next-item">
                        <i class="bi bi-envelope-open-fill"></i>
                        <strong>Open Your Inbox</strong>
                        <span>Look for the Host in Sri Lanka password reset email.</span>
                    </div>

                    <div class="hosting-client-next-item">
                        <i class="bi bi-shield-lock-fill"></i>
                        <strong>Use Secure Link</strong>
                        <span>Click the reset link and create a new password safely.</span>
                    </div>

                    <div class="hosting-client-next-item">
                        <i class="bi bi-box-arrow-in-right"></i>
                        <strong>Login Again</strong>
                        <span>Return to your client account using the new password.</span>
                    </div>
                </div>

                <div class="hosting-client-status-actions">
                    <a href="{% url 'hosting_app:hosting_client_login' %}"
                       class="hosting-client-status-btn-warning">
                        <i class="bi bi-box-arrow-in-right me-2"></i>
                        Back to Client Login
                    </a>

                    <a href="{% url 'hosting_app:hosting_client_password_reset' %}"
                       class="hosting-client-status-btn-primary">
                        <i class="bi bi-arrow-repeat me-2"></i>
                        Send Again
                    </a>

                    <a href="{% url 'hosting_app:home_hosting' %}"
                       class="hosting-client-status-btn-outline">
                        <i class="bi bi-house-heart-fill me-2"></i>
                        Hosting Home
                    </a>
                </div>

            </div>
        </div>

    </div>
</section>

{% endblock %}