:root {
    --primary: #ff4d4f;
    --primary2: #ff7875;
    --bg1: #f8f9fa;
    --bg2: #eef2f7;
    --radius: 14px;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.08)
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
    background: linear-gradient(180deg, var(--bg1), var(--bg2));
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ffcccc, transparent);
    filter: blur(120px);
    z-index: -1
}

.form-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 20px
}

.top-banner {
    text-align: center;
    margin-bottom: 25px
}

.top-banner h1 {
    margin: 10px 0 5px;
    font-size: 26px;
    font-weight: 800
}

.top-banner p {
    margin: 0;
    color: #888;
    font-size: 14px
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 25px;
    border: none;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer
}

.form-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    padding: 28px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: fadeUp .5s ease
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.input-group {
    margin-bottom: 20px
}

label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    display: block
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #eee;
    border-radius: var(--radius);
    transition: .3s;
    height: 45px;
    margin-top: 1rem;
}

.input-icon i {
    margin: 0rem 0.5rem;
    color: #aaa;
    min-width: 1.8rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon input {
    flex: 1;
    height: 100%;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
}
.input-icon input::-webkit-credentials-auto-fill-button {
    background-color: transparent !important;
}

.input-icon:has(input:focus) {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 77, 79, .15);
    outline: none
}

.radio-tile-group {
    display: flex;
    gap: 12px;
    margin: 1rem 0rem;
}

.radio-tile {
    flex: 1;
    cursor: pointer
}

.radio-tile input {
    display: none
}

.tile-content {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: .25s
}

.tile-content i {
    font-size: 20px;
    margin-bottom: 5px
}

.radio-tile input:checked+.tile-content {
    border-color: var(--primary);
    background: #fff5f5;
    color: var(--primary);
    transform: translateY(-2px)
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.city-item {
    background: #f6f7fb;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px
}

.city-item input {
    margin-right: 5px;
    accent-color: var(--primary)
}

.city-item:has(input:checked) {
    background: #fff;
    border: 2px solid var(--primary);
    font-weight: 600
}

.submit-btn {
    margin-top: 30px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 77, 79, .35);
    transition: .3s
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 77, 79, .45)
}

@media only screen and (max-width: 540px) {
    .radio-tile-group .radio-tile{
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 2px solid #eee;
        border-radius: 12px;
        text-align: center;
        transition: .25s;
    }
    .radio-tile-group .radio-tile:has(input:checked){
        border-color: var(--primary);
        background: #fff5f5;
        color: var(--primary);
    }
    .radio-tile-group .tile-content{
        border: none !important;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 0.5rem;
    }
    .radio-tile-group .radio-tile:has(input:checked) .tile-content{
        border: none;
        background: none;
    }
}