﻿:root {
    --accent: #2563eb;
    --accent2: #1a4f72;
    --secondary: #3a7ca5;
    --muted: #475569;
    --error: #dc2626;
    --success: #16a34a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #f1f5f9;
}

.left {
    flex: 1;
    background: linear-gradient(135deg, #1a4f72, #3a7ca5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .left h1 {
        font-size: 34px;
        margin-bottom: 20px;
        z-index: 2;
        line-height: 1.3
    }

    .left p {
        font-size: 16px;
        max-width: 460px;
        line-height: 1.7;
        z-index: 2
    }

    .left a {
        margin-top: 20px;
        display: inline-block;
        color: white;
        font-weight: 600;
        text-decoration: underline;
        z-index: 2;
    }

/* Animated floating cross icons */
.icon {
    position: absolute;
    font-size: 50px;
    opacity: 0.15;
    animation: float 14s ease-in-out infinite;
}

    .icon.one {
        top: 15%;
        left: 10%;
        animation-duration: 18s
    }

    .icon.two {
        top: 70%;
        left: 25%;
        animation-duration: 22s
    }

    .icon.three {
        top: 40%;
        left: 75%;
        animation-duration: 26s
    }

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0)
    }

    50% {
        transform: translateY(-25px) translateX(15px) rotate(180deg)
    }

    100% {
        transform: translateY(0) translateX(0) rotate(360deg)
    }
}

.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: fadeUp .6s ease;
    z-index: 2;
}

@keyframes fadeUp {
   from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Animated background shapes for right panel */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: linear-gradient(135deg, #1a4f72, #3a7ca5);
    animation: move 20s linear infinite;
}

    .shape.one {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -60px;
        animation-duration: 25s
    }

    .shape.two {
        width: 120px;
        height: 120px;
        bottom: 20px;
        left: 50px;
        animation-duration: 18s
    }

    .shape.three {
        width: 150px;
        height: 150px;
        bottom: -60px;
        right: 100px;
        animation-duration: 30s
    }

@keyframes move {
    0% {
        transform: translate(0,0) rotate(0)
    }

    50% {
        transform: translate(30px,-40px) rotate(180deg)
    }

    100% {
        transform: translate(0,0) rotate(360deg)
    }
}

h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
    color: #0f172a
}

p.lead {
    text-align: center;
    color: var(--muted);
    margin-bottom: 22px;
    font-size: 14px
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

label {
    font-size: 13px;
    color: var(--muted)
}

input {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}

    input:focus {
        border: 2px solid transparent;
        border-image: linear-gradient(135deg, #1a4f72, #3a7ca5);
        border-image-slice: 1;
        box-shadow: 0 0 5px rgba(58,124,165,0.5);
    }

.btn {
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    background: linear-gradient(90deg, #1a4f72, #3a7ca5);
    color: white;
    cursor: pointer;
    transition: transform .2s;
}

    .btn:hover {
        transform: translateY(-2px)
    }

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted)
}

    .row a {
        color: var(--accent);
        text-decoration: none
    }

.error {
    color: var(--error);
    font-size: 13px
}

.success {
    color: var(--success);
    font-size: 13px
}

.footer-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 16px
}

    .footer-note a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 600
    }

@media(max-width:768px) {
    body {
        flex-direction: column
    }

    .left, .right {
        flex: none;
        width: 100%;
        min-height: 50vh
    }

    .icon, .shape {
        display: none
    }
}
