﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 10px 10px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

.container {
    max-width: 700px;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

    .container .title {
        font-size: 28px;
        font-weight: 600;
        position: relative;
        margin-bottom: 25px;
    }

        .container .title::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: -5px;
            height: 4px;
            width: 40px;
            border-radius: 5px;
            background: linear-gradient(135deg, #71b7e6, #9b59b6);
        }

.user-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-box {
    margin-bottom: 20px;
    width: calc(50% - 10px);
}

    .input-box.full-width {
        width: 100%;
    }

    .input-box span.details {
        display: block;
        font-weight: 500;
        margin-bottom: 6px;
        color: #333;
    }

    .input-box input,
    .input-box select {
        height: 45px;
        width: 100%;
        font-size: 15px;
        border-radius: 6px;
        padding: 0 15px;
        border: 1px solid #ccc;
        border-bottom-width: 2px;
        outline: none;
        transition: 0.3s ease;
        background-color: #f9f9f9;
    }

        .input-box input:focus,
        .input-box select:focus {
            border-color: #9b59b6;
            box-shadow: 0 0 5px rgba(155, 89, 182, 0.3);
            background-color: #fff;
        }

.button {
    margin-top: 30px;
}

    .button input {
        width: 100%;
        height: 50px;
        border: none;
        border-radius: 6px;
        background: linear-gradient(135deg, #71b7e6, #9b59b6);
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .button input:hover {
            background: linear-gradient(-135deg, #71b7e6, #9b59b6);
        }

body {
    padding-top: 60px;
}

@media (max-width: 576px) {
    .input-box {
        width: 100% !important;
    }

    .container {
        padding: 20px;
    }
}

.button input.loading {
    pointer-events: none;
    opacity: 0.7;
    background: repeating-linear-gradient(135deg, #71b7e6, #9b59b6 10px, #71b7e6 20px);
    background-size: 200% 100%;
    animation: pulse 1s linear infinite;
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
