* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
        "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
        "Helvetica Neue", sans-serif;
    background-color: #f2f2f7;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.title {
    font-size: 48px;
    font-weight: 700;
    color: #33334d;
    text-align: center;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.label {
    font-size: 18px;
    font-weight: 500;
    color: #666680;
}

.input-field {
    width: 100%;
    height: 56px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 400;
    color: #33334d;
    background-color: #ffffff;
    border: 2px solid #ccccd9;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus {
    border-color: #664db2;
}

.input-field::placeholder {
    color: #9999a6;
}

.gender-selection {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 56px;
    padding: 8px;
    background-color: #ffffff;
    border: 2px solid #ccccd9;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.gender-btn {
    flex: 1;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #4d4d66;
    background-color: #f2f2f7;
    border: 1px solid #ccccd9;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.gender-btn:hover {
    background-color: #e8e8ed;
    border-color: #9999a6;
}

.gender-btn.selected {
    background-color: #664db2;
    color: #ffffff;
    border-color: #664db2;
}

.submit-btn {
    width: 100%;
    height: 60px;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    background-color: #664db2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    outline: none;
}

.submit-btn:hover {
    background-color: #5538a0;
}

.submit-btn:active {
    background-color: #4a2e8a;
}

.submit-btn:disabled {
    background-color: #9999a6;
    cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .title {
        font-size: 36px;
    }

    .container {
        gap: 30px;
    }

    .form {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 28px;
    }

    .label {
        font-size: 16px;
    }

    .input-field,
    .gender-selection {
        height: 50px;
    }

    .gender-btn {
        height: 36px;
        font-size: 14px;
    }

    .submit-btn {
        height: 56px;
        font-size: 18px;
    }
}
