body {
    background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #f472b6, #c084fc);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

input {
    transition: all 0.2s ease;
}

input:focus {
    border-color: #f472b6;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.15);
    outline: none;
}

.gender-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1.5px solid #e5e7eb;
    background: white;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 0.375rem;
}

.gender-chip.selected {
    border-color: #f472b6;
    background: #fdf2f8;
    color: #db2777;
}

.gender-chip input {
    display: none;
}

.mode-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 500;
    border: 1.5px solid #e5e7eb;
    background: white;
    transition: all 0.2s ease;
}

.mode-btn.active {
    border-color: #f472b6;
    background: #fdf2f8;
    color: #db2777;
}

.mode-btn input {
    display: none;
}

.person-section {
    background: #fafafa;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f1f1f1;
}

.result-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.gender-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.gender-tag.male {
    background: #dbeafe;
    color: #1e40af;
}

.gender-tag.female {
    background: #fce7f3;
    color: #9d174d;
}