* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: url(https://cdn.pixabay.com/photo/2020/04/22/08/06/dolomites-5076487_1280.jpg) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    position: relative;
    overflow: hidden;
}


.form-container::before,
.form-container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.3;
}

.form-container::before {
    top: -50px;
    left: -50px;
}

.form-container::after {
    bottom: -50px;
    right: -50px;
}


.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    z-index: 1;
    position: relative;
}

.subtitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    color: #f0f0f0;
}

form {
    z-index: 1;
    position: relative;
}

fieldset {
    border: none;
    margin-bottom: 20px;
    padding: 0;
}

legend {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #fff;
}


.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
}

.input-group.full-width {
    grid-column: span 2;
    background-color: #ff6ec534;


}

#country {
    background-color: #ff6ec534;
    color: black;
}

.input-group input,
.input-group textarea,
.input-group select {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}


.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label,
.input-group select:focus+label,
.input-group select:not([value=""])+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    padding: 0 4px;
    border-radius: 4px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: #ff6ec4;
    box-shadow: 0 0 10px rgba(255, 110, 196, 0.6);
}

textarea {
    resize: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff6ec4;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media(max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}