
    :root {
        --bg: #f3f4fb;
        --card: #ffffff;
        --text: #2f3a4c;
        --line: #d7ddeb;
        --primary: #5950d8;
        --button: #47c983;
        --button-dark: #34b670;
        --shadow: 0 14px 34px rgba(30, 41, 59, 0.12);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
        min-height: 100vh;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        background: var(--bg);
        color: var(--text);
        overflow-x: hidden;
    }

    .page {
        min-height: 100vh;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 34px 16px 24px;
    }

    /* ── Hero ── */
    .hero {
        position: absolute;
        inset: 0 0 auto 0;
        height: 250px;
        width: 100%;
		padding:10px;
        background: rgb(88 70 211);
		z-index:1;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 10% 20%, rgba(255,255,255,0.82) 0 2px, transparent 3px),
            radial-gradient(circle at 24% 56%, rgba(255,255,255,0.72) 0 4px, transparent 5px),
            radial-gradient(circle at 40% 12%, rgba(255,255,255,0.74) 0 3px, transparent 4px),
            radial-gradient(circle at 62% 18%, rgba(255,255,255,0.75) 0 2px, transparent 3px),
            radial-gradient(circle at 80% 58%, rgba(255,255,255,0.82) 0 4px, transparent 5px),
            radial-gradient(circle at 92% 12%, rgba(255,255,255,0.7)  0 2px, transparent 3px);
        opacity: 0.9;
    }

    .hero::after {
        content: "";
        position: absolute;
        left: -6%; right: -6%;
        bottom: -120px;
        height: 200px;
        background: rgb(88 70 211);
        border-radius: 0 0 50% 50% / 0 0 100% 100%;
    }

    /* ── Logo pill ── */
    .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        margin-top: 34px;
    }

    .logo-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 12px 28px rgba(30, 41, 59, 0.16);
    }

    .logo-pill img {
        width: 150px;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* ── Card ── */
    .card {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 565px;
        margin-top: 50px;
        background: var(--card);
        border-radius: 8px;
        box-shadow: var(--shadow);
        border: 1px solid #eceff6;
        padding: 34px 40px 28px;
    }

    .card-title {
        text-align: center;
        color: var(--primary);
        font-size: 25px;
        font-weight: bold;
    }

    .card-subtitle {
        margin-top: 10px;
        margin-bottom: 30px;
        text-align: center;
        font-weight: bold;
        color: #000;
        font-size: 15px;
        line-height: 1.6;
    }

    /* ── Alerts ── */
    .alert {
        margin-bottom: 16px;
        padding: 12px 14px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }

    .alert-error {
        background: #fff1f2;
        border: 1px solid #fecdd3;
        color: #be123c;
    }

    .alert-success {
        background: #f0fdf4;
        border: 1px solid #bbf7d0;
        color: #166534;
    }

    .inline-link {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

    .inline-link:hover { text-decoration: underline; }

    /* ── Fields ── */
    .field { margin-bottom: 18px; }

    .field-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 8px;
    }

    .field label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #343f52;
        margin-bottom: 8px;
    }

    .field-row label { margin-bottom: 0; }

    .field-row a {
        color: #000;
        text-decoration: none;
        font-size: 13px;
    }

    .field-row a:hover { color: var(--primary); }

    input[type=text],
    input[type=password],input[type=email] {
        width: 100%;
        padding: 13px 44px 13px 16px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: #ffffff;
        color: var(--text);
        font-size: 15px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    input[type=text]:focus,
    input[type=password]:focus {
        outline: none;
        border-color: rgba(89, 80, 216, 0.45);
        box-shadow: 0 0 0 3px rgba(89, 80, 216, 0.08);
    }

    .input-group { position: relative; }

    .toggle-password {
        position: absolute;
        top: 50%; right: 14px;
        transform: translateY(-50%);
        cursor: pointer;
        user-select: none;
        opacity: 0.55;
        font-size: 18px;
    }

    /* ── Submit ── */
    .submit-btn {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 6px;
        background: linear-gradient(135deg, var(--button), #52d193);
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 10px 18px rgba(71, 201, 131, 0.22);
        transition: background 0.2s ease, transform 0.2s ease;
        margin-top: 6px;
    }

    .submit-btn:hover {
        background: linear-gradient(135deg, var(--button-dark), #41c481);
        transform: translateY(-1px);
    }

    .register-text {
        text-align: center;
        margin-top: 18px;
        font-size: 13px;
        color: #8a93a7;
    }
	
	    .toggle-password {
        position: absolute;
        top: 50%;
        right: 14px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
    }

    .toggle-password img {
        width: 18px;
        height: 18px;
        opacity: 0.55;
        display: block;
    }

    .register-text a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
    }

    .register-text a:hover { text-decoration: underline; }

    /* ── Modal ── */
    .modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 999;
        align-items: center;
        justify-content: center;
    }

    .modal-overlay.active { display: flex; }

    .modal-box {
        background: #fff;
        border-radius: 12px;
        padding: 32px 28px;
        width: 100%;
        max-width: 420px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
        position: relative;
    }

    .modal-box h5 {
        font-size: 18px;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 8px;
    }

    .modal-box p {
        font-size: 14px;
        color: #8a93a7;
        margin-bottom: 20px;
    }

    .modal-close {
        position: absolute;
        top: 14px; right: 16px;
        font-size: 20px;
        cursor: pointer;
        color: #8a93a7;
        background: none;
        border: none;
    }

    .modal-close:hover { color: var(--text); }

    .modal-btn {
        display: block;
        width: 100%;
        padding: 13px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        margin-bottom: 12px;
        transition: opacity 0.2s;
    }

    .modal-btn:last-child { margin-bottom: 0; }

    .modal-btn-primary {
        background: linear-gradient(135deg, var(--button), #52d193);
        color: #fff;
        border: none;
        cursor: pointer;
        box-shadow: 0 8px 16px rgba(71, 201, 131, 0.2);
    }

    .modal-btn-outline {
        background: #fff;
        color: var(--text);
        border: 1px solid var(--line);
    }

    .modal-btn:hover { opacity: 0.88; }

    /* ── Mobile ── */
    @media (max-width: 640px) {
        .page { padding: 16px 14px 24px; }
        .hero { height: 250px; }
        .hero::after {
            left: -10%; right: -10%;
            bottom: -84px; height: 145px;
            transform: rotate(-5deg);
        }
        .hero-content { margin-top: 18px; }
        .logo-pill { padding: 12px 18px; border-radius: 16px; }
        .logo-pill img { width: 110px; }
        .card { margin-top: 70px; padding: 24px 18px 22px; border-radius: 12px; }
        .card-title { font-size: 22px; }
        .card-subtitle { margin-bottom: 22px; font-size: 13px; }
        input[type=text],
        input[type=password] { font-size: 16px; }
        .submit-btn { font-size: 15px; padding: 13px; }
    }

    @media (max-width: 360px) {
        .card { padding: 20px 14px 18px; }
    }
	
	.btn{
		
		padding: 5px 21px;
    color: #5846d3;
    background: white;
    text-decoration: none;
    border-radius: 10px;
    /* margin: 10px 0 0 10px; */
    margin-top: 10px !important;
    font-weight: bold;
	z-index:10;
	}
	.hero::before,
.hero::after {
    pointer-events: none;
}
