
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;800&display=swap');

body {
    font-family: 'Pretendard', sans-serif !important;
    background-color: #f8faff !important;
}

/* Hide original selects */
#main select {
    display: none !important;
}

/* Progress bar */
.u2dio-progress-wrapper {
    width: 100%;
    max-width: 400px;
    height: 12px;
    background: #edf2f7;
    border-radius: 20px;
    margin: 20px auto 40px auto;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.u2dio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e8e 100%);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

/* Tiles grid for buttons */
.u2dio-tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.u2dio-tile {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-grow: 1;
    text-align: center;
    min-width: calc(45% - 20px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.u2dio-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
    border-color: #cbd5e0;
}

.u2dio-tile.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(255,107,107,0.3);
    transform: scale(1.02);
}

/* Inputs */
#main input[type="text"], #main input.namebox {
    width: 85%;
    max-width: 350px;
    padding: 18px 25px;
    font-size: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

#main input[type="text"]:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

/* Emphasized Primary Action Button */
#main button[onclick], #main input[type="submit"] {
    background: #2d3748;
    color: white;
    border: none;
    padding: 20px 45px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 90%;
    max-width: 400px;
    margin-top: 10px;
    box-shadow: 0 6px 15px rgba(45, 55, 72, 0.25);
    letter-spacing: 1px;
}

#main button[onclick]:hover, #main input[type="submit"]:hover {
    background: #ff6b6b;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255,107,107,0.4);
}

/* Restyling spans and question labels */
#main b span {
    display: block;
    margin-bottom: 12px;
    font-size: 20px !important;
    color: #4a5568 !important;
    font-weight: 800;
}
